Sonner
A toast that confirms an action and goes away on its own.
components/ui/sonner.tsx
Preview
Code
Installation
npx betterone-ds add sonnerProps
| Prop | Type | Default |
|---|---|---|
| toast() | string | — |
| Toaster position | string | "bottom-right" |
Accessibility
- Toasts are announced politely. Do not use them for errors that need action.

