Skip to content
Design System
GitHub

Banner, Alert, Toast, Alarm or Dialog

Five ways to tell someone something. They differ in what the message is about, how long it stays, and whether it stops the work.

The rule

Ask in order: must someone act at a robot? Alarm. Must they decide before going on? Dialog. Did they just do it? Toast. Is the whole app affected? Banner. Otherwise: Alert.

Side by side

ComponentAboutStaysNeeds actionStops the work
AlarmAn abnormal robot or system conditionUntil cleared and acknowledgedYes, by priorityNo; critical ones lead the list
DialogA decision the task waits onUntil answeredYes, nowYes
AlertDialogConfirming what cannot be undoneUntil answeredYes, nowYes
ToastWhat the person just did4 to 8 s; failures until dismissedNo; Undo at mostNo
BannerThe whole appUntil its condition endsAt most one actionNo
AlertOne page, form or recordWhile its condition holdsNoNo

In one line each

  • Alarm: An operator must act: collision risk, e-stop, low battery on a mission.
  • Dialog: A short decision before going on: rename, a choice with two or three outcomes.
  • AlertDialog: Delete, revoke, force-remove: the confirm button names the consequence.
  • Toast: Saved, copied, mission started, with Undo where possible.
  • Banner: Maintenance, read-only mode, a licence about to end, no connection.
  • Alert: A form that cannot be saved, a robot that is offline, beside what it is about.