Sonner

A toast that confirms an action and goes away on its own.

components/ui/sonner.tsx

Installation

npx betterone-ds add sonner

Props

PropTypeDefault
toast()string—
Toaster positionstring"bottom-right"

Accessibility

  • Toasts are announced politely. Do not use them for errors that need action.