ComponentReactregistry:ui1 dependency
Toast
toast
Floating notification pill fixed below the header, for app-level messages and background work.
Notes from the author
Toast is for app-level notifications that float above the page: an armed-state hint, an update-available message with an action, or background work still running. For a message bound to a specific surface, use Notice. The caller owns `open` and any auto-dismiss timing. Keep messages to one short sentence. For work that resolves on its own, pass `busy` (draws the spinner, sets aria-busy) with a `detail` readout and no action or dismiss -- `detail` is hidden from assistive tech because the pill is a live region and a fast-changing count would otherwise be announced on every tick. `assertive` upgrades the announcement to role=alert for a message whose moment passes.
4 other registries
Similar components
Other registries' take on toast.
@whiskeyjack