Alerts represent highlighted messages on a page that call out important information. Alerts can be used both inline with page content as well as a subheader as a status for the entire page.
Alerts should:
headline
text. For maximum legibility, use the tagline
property for additional informationAlerts should not:
Alerts should communicate a clear message to highlight to customers. Emphasize the action within the headline, and save the tagline for further explanation or additional information.
Success alerts are used to highlight information that was generated by a successful / confirmed action.
Error alerts are used to highlight information that was generated by an unsuccessful action or error that needs to be remedied.
Warning alerts are used to highlight information that was generated by a warning or caution the user to proceed carefully going forward.
Info alerts are used to highlight general information and provide more context for the surrounding content.
Tip alerts are used to highlight tips and other helpful information or materials.
Marketing alerts are used to highlight product marketing information or materials.
Alerts do not require content and can be rendered with just a headline.
Alerts can be tied to other content via a directional speech bubble arrow either above or below content.