- 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 singleToaster 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