Invision UI v.19.6.0-0

Getting Started

  • Running Invision UI
  • UI Component Anatomy
  • Authoring SCSS
  • Authoring Presentational Behavior

Component Foundations

  • SCSS Authoring
    • Mixins & Variables
    • Stateful Classes
  • State Guidance
    • Empty/Zero State
    • Loading State
  • Utilities
    • Align
    • Display
    • Flexbox
    • Font Size
    • Layout
    • Offset
    • Position
    • Overflow
    • Size
    • Spacing
    • Text
  • Layout
    • Arrange [Deprectated]
    • Divided Columns
    • Embed Video
    • Full and Center
    • Fill [Deprectated]
    • Grid
    • Media Blocks
    • Panels
    • Vertical Layouts
  • Media Queries
  • Angular Behaviors
    • App Theme Directive
    • Auto Focus Input
    • Filters
    • Popup (modal dialog) Manager
    • Tether (tooltip/dropdown) Manager
    • Resize Sensor
    • Watchers

UI Component Library

  • Content & Containment
    • Active Translation
    • Auto Fit Text
    • Address
    • Basic & Input Table
    • Brand Logo/Slogan
    • Call to Action - Empty State
    • Carousel
    • Cart
    • Choice
    • Collapsible Container
    • Copyright Footer
    • Coupon Redeemer
    • Content
    • Date Relative Display
    • Definition Lists
    • Delimited List
    • Details
    • Expiration Date Display
    • Feature Toggle
    • Form Section Heading
    • Header
    • Heading
    • Heading With Annotation
    • Icons
    • Interaction Details
    • Labeled Balance
    • Link
    • Main Container
    • Metadata Card
    • Metadata List Item
    • Offering QuickView
    • Payment Instrument
    • Preference Dialog
    • Pricing Plan Decoration
    • Product Availability
    • Product Details
    • Product Image
    • Quick Info Panel
    • Remark
    • Renewal Column
    • Richlist Filterbar
    • Richlist Wrapper
    • Scrollable Horizontal List
    • Search Card
    • Search Panel
    • Section
    • Selectable Option
    • Smart Truncate
    • Status Grid
    • Tooltip
  • Data Visualizations
    • Bill Runs
    • Comparison Table
    • Datatable
    • Progress Tracker
    • Schedules
    • Query Builder
  • Dialogs
    • Confirmation Dialog
    • Dialog
    • Rich List Dialog
    • Wait Dialog
  • Forms and Filters
    • Additional Properties
    • Autocomplete
    • 3 Field Date Input
    • Checkbox
    • Credit Card
    • Bulk Action Bar
    • Buttons
    • Confirmation Button
    • Date Picker
    • E-Check
    • Entity Specification
    • External Bill
    • External Gift Card
    • Focus Group
    • Forms
    • Filter Bar
    • Filter Dropdowns
    • Gift Card
    • Grouped Check Filters
    • Inputs
    • Input Select Combo
    • Monetary Input
    • Multi Dropdown Selector
    • Multiple Numeric Input
    • Monetary Range Input
    • Password Unmask Button
    • Select
    • Select Button Or Stepper
    • Select Or Text Input
    • Stepper
    • Tag Dropdown
  • Navigation & Flow
    • Back Banner
    • Back Component
    • Breadcrumbs
    • Details Pager
    • Expandable Section
    • Infinite Scroll
    • Open New Window
    • Pager
    • Fancy Richlist
    • Standard Navigator
    • Status Indicator
    • Step Progress Bar
    • Step Progress Indicator
    • Tab Card
    • Tab Panel
    • Tier Navigator
    • Wizard
  • Notifications
    • Loading Indicator
    • Toast Notifications
  • Deprecated
    • Content Area

Showcase

  • General
    • Simplelist
    • Richlist
    • Primary (side) Navigator
  • Customer Care
    • Case Activity List
    • Customer Care Navigator Component
    • Dashboard
    • Decisions
  • Reporting
    • Content Visualization

Unit Testing

  • Actions
  • Components
  • Selectors
  • Reducers

End-to-end Testing

Statistics

Notifications

In this section

Overview Variants
  • Success Notification
  • Info Notification
  • Warning Notification
  • Error Notification
  • Transient Success Notification
  • Banner Notification

All examples here are to illustrate the contents of the notifications, not the UI elements that launch them.

Success Notification

Success Notification. This takes a title, message, toastr options, redux actions, and will return the toastr object.

This is a confirmation banner message.
HTML
<div ng-controller="NotificationExampleController as $ctrl" class="t-content g-notificationExample">
    <div class="t-notification t-notification--success c-notification">
        <inv-icon class="c-notification-toastIcon" glyph="'check-circle'"></inv-icon>
        <div class="c-notification-content">
            <div class="c-notification-message" aria-label="This is a confirmation banner message.">
                This is a confirmation banner message.
            </div>
        </div>
        <button class="c-notification-close"><inv-icon glyph="'close_large'"></inv-icon></button>
    </div>
    <button class="c-button c-button--primary" ng-click="$ctrl.success()">Success</button>
</div>

Info Notification

Info Notification. This takes a title, message, toastr options, redux actions, and will return the toastr object.

This is an info banner message.
HTML
<div ng-controller="NotificationExampleController as $ctrl" class="t-content g-notificationExample">
    <div class="t-notification t-notification--info c-notification">
        <inv-icon class="c-notification-toastIcon" glyph="'info-circle'"></inv-icon>
        <div class="c-notification-content">
            <div class="c-notification-message" aria-label="This is an info banner message.">
                This is an info banner message.
            </div>
        </div>
        <button class="c-notification-close"><inv-icon glyph="'close_large'"></inv-icon></button>
    </div>
    <button class="c-button c-button--primary" ng-click="$ctrl.info()">Info</button>
</div>

Warning Notification

Warning Notification. This takes a title, message, toastr options, redux actions, and will return the toastr object.

This is a warning banner message.
HTML
<div ng-controller="NotificationExampleController as $ctrl" class="t-content g-notificationExample">
    <div class="t-notification t-notification--warning c-notification">
        <inv-icon class="c-notification-toastIcon" glyph="'exclamation-circle'"></inv-icon>
        <div class="c-notification-content">
            <div class="c-notification-content" aria-label="This is a warning banner message.">
                This is a warning banner message.
            </div>
        </div>
        <button class="c-notification-close"><inv-icon glyph="'close_large'"></inv-icon></button>
    </div>
    <button class="c-button c-button--primary" ng-click="$ctrl.warning()">Warning</button>
</div>

Error Notification

Error Notification. This takes a title, message, toastr options, redux actions, and will return the toastr object.

Extra long message Hendrerit auctor lacus condimentum potenti lorem leo suspendisse velit placerat parturient ullamcorper condimentum dui scelerisque a nibh donec faucibus tristique vitae id.Nisl odio ad nulla condimentum cras vestibulum eu suscipit cum non neque vestibulum platea sem suspendisse magna ante litora mi nostra parturient sit habitasse magna morbi consequat potenti senectus.Dapibus proin ac class tincidunt fermentum pretium cubilia praesent quis senectus eget dui phasellus pretium etiam gravida luctus maecenas.Nec consectetur parturient donec netus a ullamcorper elit natoque sagittis a vestibulum condimentum integer ac.Hac..
HTML
<div ng-controller="NotificationExampleController as $ctrl" class="t-content g-notificationExample">
    <div class="t-notification t-notification--error c-notification">
        <inv-icon class="c-notification-toastIcon" glyph="'exclamation-circle'"></inv-icon>
        <div class="c-notification-content">
            <div class="c-notification-message" aria-label="This is an error banner message.">
                Extra long message Hendrerit auctor lacus condimentum potenti lorem leo suspendisse velit placerat parturient ullamcorper condimentum dui scelerisque a nibh donec faucibus tristique vitae id.Nisl odio ad nulla condimentum cras vestibulum eu suscipit cum non neque vestibulum platea sem suspendisse magna ante litora mi nostra parturient sit habitasse magna morbi consequat potenti senectus.Dapibus proin ac class tincidunt fermentum pretium cubilia praesent quis senectus eget dui phasellus pretium etiam gravida luctus maecenas.Nec consectetur parturient donec netus a ullamcorper elit natoque sagittis a vestibulum condimentum integer ac.Hac..
            </div>
        </div>
        <button class="c-notification-close"><inv-icon glyph="'close_large'"></inv-icon></button>
    </div>
    <button class="c-button c-button--primary" ng-click="$ctrl.error()">Error</button>
    <button class="c-button" ng-click="$ctrl.errorDefault()">Error without a message or title</button>
    <button class="c-button" ng-click="$ctrl.extraLongError()">Extra Long Error</button>
</div>

Transient Success Notification

Transient Notification

Transient Title
This is a transient success notification.
HTML
<div ng-controller="NotificationExampleController as $ctrl" class="t-content g-notificationExample">
    <div class="t-notification t-notification--success c-notification">
        <inv-icon class="c-notification-toastIcon" glyph="'check-circle'"></inv-icon>
        <div class="c-notification-content">
            <div class="c-notification-title" aria-label="Transient Title">Transient Title</div>
            <div class="c-notification-message" aria-label="This is a confirmation banner message.">
                This is a transient success notification.
            </div>
        </div>
        <button class="c-notification-close"><inv-icon glyph="'close_large'"></inv-icon></button>
    </div>
    <button class="c-button c-button--primary" ng-click="$ctrl.transientSuccess()">Transient Success</button>
</div>

Banner Notification

Banner notifications can be used to notify the user of a message with potential more details. Often used in conjunction with the content container.

HTML
<div ng-controller="BannerNotificationExampleController as $ctrl" class="t-content g-bannerNotificationExample">
    <banner-notification
        expandable="$ctrl.expandable"
        expander-label="$ctrl.expanderLabel"
        is-expanded="$ctrl.isExpanded"
        on-expand="$ctrl.onExpand"
        show-action="true"
        action-label="$ctrl.actionLabel"
        on-action="$ctrl.onAction"
        glyph="'health-ok'"
        message="$ctrl.message"
        type="'warning'"
        expanded-message="$ctrl.expandedMessage">
    </banner-notification>
</div>