Skip to content

Toast

A brief confirmation that stacks, expands on hover, pauses when hidden and swipes away.

npx dtheo@latest add toast

When to use

  • Confirming an action finished ("Run queued")
  • Background events with an optional action (Undo)
  • Errors that need a decision: use Alert or Alert dialog

Accessibility

  • Toasts are announced politely. Never put the only path to a feature in a toast.

Used in