Toastshadcn
A brief confirmation in the corner (sonner).
Feedback- Install
- npx shadcn add sonner
- Import from
- @/components/ui/sonner
- Guidance
- draft · v0.1.0
Examples
As installed from shadcn – rendering in jsp-ds tokens through the bridge.
Guidance
When to use
- A short confirmation of something the person just did: Saved, Invite sent.
- With an Undo action for something reversible.
When not to use
- Errors that need fixing – show them where the problem is.
- Anything people must read later – it disappears.
Rules
- One short sentence. No title unless there's a description too.
- Pass
themefrom the mode so it followsdata-mode(ISS-07).
Install
Terminal
npx shadcn add sonnerImport
import { Toaster } from "@/components/ui/sonner"From shadcn’s own registry. Don’t edit the installed file – jsp-ds styles it through the bridge, and fixes go in styles/overrides.css with an issue.