Concept 5 of 27· UI patterns and content
  1. 1UI design patterns
  2. 2UI components
  3. 3Modal dialogs
  4. 4Toast notification
  5. 5Modal vs toast
  6. 6Selection controls
  7. 7Segmented control
  8. 8Tabs
  9. 9Tabs vs accordion
  10. 10Date picker
  11. 11Notifications and badges
  12. 12Icons and labels
  13. 13Cards
  14. 14Carousel
  15. 15Data table
  16. 16Stepper (wizard)
  17. 17Search with autocomplete
  18. 18Filtering and faceted search
  19. 19Pagination vs infinite scroll
  20. 20Command palette
  21. 21UX writing
  22. 22Microcopy
  23. 23Writing for scanning
  24. 24Voice and tone
  25. 25Empty states
  26. 26Onboarding
  27. 27Contextual help

Share this card

Modal vs toast

A modal dialog blocks the page until you respond. A toast is a short message that appears without blocking anything and usually fades away on its own.

Example

'Delete this album for good?' needs a modal; 'Photo saved' only needs a toast.

A modal blocks the page until you respond, so “Delete this album for good?” needs one; a toast fades away on its own, so “Photo saved” only needs a toast. Errors and messages people must act on should stay on screen, so a vanishing toast is the wrong choice for them.

When to use it

Use a modal when people must decide or give information before carrying on. Use a toast for low-stakes confirmations. Errors and messages people must act on should stay on screen, so a vanishing toast is the wrong choice for them.

The evidence 5 sourced claims

Every sentence on this card traces back to one of these claims, each linked to its source. How we research

  1. A dialog is a small, temporary window where people complete a task or give information. Shown as modal, it blocks the rest of the page, which can't be used until the dialog closes; shown as non-modal, the page behind stays usable.

  2. Modal dialogs suit important warnings (for example, before losing unsaved work) and asking for information needed to continue a task. Avoid them for content unrelated to the task (such as newsletter sign-ups), in the middle of checkout, and when people need to see what's behind the dialog to decide.

  3. NN/g describes toasts as small nonmodal popups that appear briefly and disappear automatically; Roselli describes a toast as a short message that often appears only briefly.

  4. NN/g: toast-style notifications are easy to miss and suit low-priority, passive information; they should not be used for errors or information users must act on.

  5. Content that disappears after a set time without user action is a time limit under WCAG Timing Adjustable, which users must be able to turn off, adjust or extend; Roselli applies this to toasts that vanish after a few seconds. W3C APG: alerts should not disappear automatically.

Last checked 14 Nov 2026

Popular searches

Cookie settings

Choose which optional cookies SimplyUX can use. Your choice is saved in this browser. Privacy policy