Preview
Toaster has no notices during SSR because notices are emitted after client actions. This server-rendered page does not imitate client behavior. Open the live playground.
Usage
Toaster usage<Toaster />
// from an island: toast({ title: 'Saved', tone: 'pass' })API
Toaster APIToasterProps
| prop | type | notes |
|---|---|---|
| corner? | 'bottom-right' | 'top-right' | 'bottom-left' | 'top-left' | Stack corner (default 'bottom-right'). |
| regionLabel? | string | i18n: region name (default 'Notifications'). |
| dismissLabel? | string | i18n: per-toast dismiss label (default 'Dismiss notification'). |