Skip to content

About

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

Sonner Labs 🧊

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.

Sonner Labs Banner

🚀 Live Demo

Visit the live tool at: sonnerlabs.devvarena.com

✨ Features

  • 🎨 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.

🛠️ Tech Stack

📦 Getting Started

Prerequisites

  • Bun (recommended) or Node.js

Installation

  1. Clone the repository:

    git clone https://github.com/devyanshyadav/sonner-labs.git
    cd sonner-labs
  2. Install dependencies:

    bun install
  3. Run the development server:

    bun dev
  4. Open http://localhost:3000 in your browser.

👤 Author

Devyansh Yadav

📄 License

This project is licensed under the MIT License.

About

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages