Toast
Floating transient notification with auto-dismiss timer and optional action button.
Live Toast Triggers
Click any button to trigger a live floating Toast notification (auto-dismisses in 3 seconds).
Toast Anatomy (ok & warn)
Message delivered
SMS balance is low
API Reference (Props)
| Name | Type | Default | Description |
|---|---|---|---|
| open* | boolean | — | Controls toast visibility. |
| message* | ReactNode | — | Primary feedback message. |
| tone | 'ok' | 'warn' | 'ok' | Confirmation (`ok`) or warning (`warn`) appearance. |
| durationMs | number | — | Auto-dismiss timeout in milliseconds (requires `onClose`). |
| actionLabel / onAction | string / () => void | — | Optional inline action button such as Undo. |