Toast
Toast displays brief, non-blocking notifications that appear and disappear automatically.
Installation
npx jsx-daisyui add toastDefault
toast-default
Props
Toaster
| Prop | Type | Default | Description |
|---|---|---|---|
position | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center' | 'bottom-right' | The position where toasts will appear on the screen. |
This component wraps Sonner. You can pass any of Sonner's ToasterProps to it.