Skip to main content
  • Location: sabo/src/components/ui/sonner.tsx

What is Sonner?

Sonner is a lightweight toast library for React. It renders brief, non-blocking notifications (success, info, warning, error, loading) that appear over your UI and disappear automatically. A single Toaster component mounts a portal target; you trigger toasts anywhere with toast.*(...). Our wrapper integrates theme (light/dark), icons, and CSS variables for consistent styling.

Setup (once at root)

sabo/src/app/layout.tsx

Usage