Directory
Sonner
Toast notifications
FreeLibraries & build toolingsonner.emilkowal.ski
What it is
An opinionated React toast component, v2, from Emil Kowalski. Stacked, swipeable, animated toasts with promise-aware variants that show loading then success or error automatically. Now the toast component shadcn/ui recommends, replacing its older one.
Why it earns a slot
One import and
toast.success('Saved') works anywhere, with no provider plumbing. Without it, silent failures are invisible — users click save, nothing happens, and they click again.Know before you commit
Styling is deliberately opinionated, so deep visual customisation means fighting its CSS variables. shadcn's deprecated
toast component is a different API — do not mix tutorials.Getting started
npm install sonner
Also in Libraries & build tooling
Astro Starlight + Nextra
starlight.astro.build
Framework docs themes
FreeLibraries & build tooling
Free · MIT
Open dossier
Biome
biomejs.dev
Linter + formatter (Rust)
FreeLibraries & build tooling
Free · MIT/Apache-2.0
Open dossier
Chromatic
chromatic.com
Visual regression testing
Free tier + paidLibraries & build tooling
Free tier · Starter $179/mo
Open dossier