Alert

Alert messages are meant to provide contextual feedback about important changes in the interface. They are used to convey essential information to the user, ensuring that critical updates or warnings are immediately noticeable.

Specifications

Banner alert design specifications
Banner alert design specifications
Modal alert design specifications
Modal alert design specifications
Inline alert design specifications
Inline alert design specifications

Anatomy

Alert anatomy
  1. 1.
    Container
  2. 2.
    Icon
  3. 3.
    Title
  4. 4.
    Pagination
  5. 5.
    Divider
  6. 6.
    Close action icon
  7. 7.
    Buttons
  8. 8.
    Description

Design tokens

Color

Component tokenElementCore tokenValue
errorBackgroundColorContainer (error)color-red-100#ffe6e9
errorIconColorIcon (error)color-red-700#d0011b
fontColorAlertcolor-grey-900#333333
infoBackgroundColorContainer (info)color-blue-100#e6f4ff
infoIconColorIcon (info)color-blue-700#0086e6
modalBackgroundColorContainer (modal)color-white#ffffff
overlayColorOverlaycolor-grey-800-a#000000b3
successBackgroundColorContainer (success)color-green-100#eafaef
successIconColorIcon (success)color-green-700#24a148
warningBackgroundColorContainer (warning)color-yellow-100#fef9e6
warningIconColorIcon (warning)color-yellow-700#c59f07

Iconography

Component tokenElementCore tokenValue
iconSizeIcon-24px

Typography

Component tokenElementCore tokenValue
fontFamilyAlertfont-family-sans'Open Sans', sans-serif
fontSizeAlertfont-scale-020.875rem / 14px
fontStyleAlertfont-style-normalnormal
fontWeightAlertfont-weight-regular400
modalTitleFontSizeTitlefont-scale-051.5rem / 24px
modalTitleFontWeightTitlefont-weight-bold700

Accessibility

WAI-ARIA

Authoring Practices Guide (APG)