Overlays
Toast
A brief confirmation that stacks, expands on hover, pauses when hidden and swipes away.
npx dtheo@latest add toastWhen 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.