Skip to main navigationSkip to main content
Return to Sky UI homepage

Alerts

Purpose

Alert messages are used to bring information to the user’s attention in different ways.

The importance of information and the way it is presented can vary quite a lot. The main differences between the components are highlighted in the table below. Even though some components might look very similar, their semantics and accessibility handling will be very different.

If you have additional requirements and can’t find what you need, pop us a message in #sky-ui-design-system Slack channel and we’ll be happy to help.

Alert component characteristics

ToastNotificationModal (as prompt)Modal (for content)Banner
PurposeNon-critial feedback on user actionSystem or account information & errorsInformation for immediate attentionOffering more detailed informationOffers and promotional information
TriggerUser actionUser action, or System eventUser actionUser actionPage load
User interactionNo action requiredAction required (optional)Action requiredAction required (only to dismiss)No action required
Release triggerTime-outActionActionDismissalNone
DismissableNoYes (optional)YesYesYes
Type of informationNon-essential, ContextualEssential, Contextual, or globalEssential, Contextual, or globalInformational, ContextualNon-essential, Promotional
Impact on userLowHighImmediateImmediateLow
Handling on Screen-readersContent only read out only if user is idleContent read out at the next opportunityContent read out within document flowContent read out within document flowContent read out within document flow
PlacementBottom of screen, covering other conentTop of screen, below the mastheadMiddle of screen, covering other contentMiddle of screen, covering other contentTop of screen, pushing content down

Choosing the right component