Toast
Default
action: —
Props
| Prop | Type | Default | Notes |
|---|---|---|---|
| message | string | — | Toast body text. |
| closeLabel | string | — | Accessible name for the dismiss button. |
| position | 'top-right' | 'top-center' | 'bottom-right' | 'bottom-center' | 'bottom-right' | Viewport edge the toast docks to. |
| size | 'sm' | 'md' | 'sm' | Text scale. |
| type | 'success' | 'info' | 'warning' | 'error' | 'info' | Accent treatment. |
| actionLabel | string | — | Paired action button; renders only with onAction. |
| onAction | () => void | — | Action button handler. |
| onClose | () => void | — | Dismiss handler (button and Escape). |