Feedback · ui · 6K
Toasts as small notification windows: a modeless 1px frame with a striped mini title bar and close box, an original 16×16 icon per type, the title in the chrome face and action and cancel as push buttons. Top right and expanded by default.
Render <Toaster /> once and call toast() (re-exported from sonner). Toasts are unstyled Sonner toasts with s7 class names; your toastOptions.classNames are added to ours. expand defaults to true because a stacked toast is scaled and a scaled 1px line is no longer crisp.
pnpm dlx shadcn@latest add @s7ui/sonnerThis example also uses @s7ui/button.