Sonner
A themed wrapper around the sonner toast library. Renders the toast viewport (Toaster); call toast() from "sonner" anywhere to actually show one.
Installation
CLI
Manual
- 1
Register the @fma-ds namespace in components.json (once)
- 2
Add the item
Files land in
components/fma-ds/sonner.tsx; npm and registry dependencies are installed along with them.
Dependencies
- npm
- lucide-react@^1.61.0next-themes@^0.4.6sonner@^2.0.8
- Registry
- None