Sonner Labs is a professional-grade playground and configurator for Sonner, the opinionated toast component for React. It allows developers to visually design, preview, and export perfectly tailored notification systems in seconds.
Visit the live tool at: sonnerlabs.devvarena.com
- 🎨 Advanced Theming: Switch between curated presets or craft your own CSS-based themes.
- 👁️ Real-time Preview: See exactly how your toasts will look and behave in a production-like environment.
- 🛠️ Granular Control:
- Look & Feel: Adjust border radius, colors, and toast sizes (sm to 2xl).
- Iconography: Customize icons for every state (Success, Error, Info, etc.) and toggle icon visibility.
- Motion & Positioning: Configure toaster position, duration, gap, and screen offset.
- Audio Feedback: Add auditory cues with pop, success, and error sound presets.
- 💻 Instant Code Export: Get ready-to-use React components and CSS snippets for your project.
- 🌗 Dark Mode: Optimized for both light and dark interfaces.
- Framework: Next.js 15+ (App Router)
- Library: React 19
- Toasts: Sonner
- Styling: Tailwind CSS 4
- Components: Radix UI & Shadcn UI
- Icons: Lucide React & React Icons
- Linter/Formatter: Biome
- Bun (recommended) or Node.js
-
Clone the repository:
git clone https://github.com/devyanshyadav/sonner-labs.git cd sonner-labs -
Install dependencies:
bun install
-
Run the development server:
bun dev
-
Open http://localhost:3000 in your browser.
Devyansh Yadav
- Website: devyanshyadav
- Twitter: @devyanshyadavv
This project is licensed under the MIT License.
