What problem does it solve? Developers integrating the Sonner toast library in React often hit issues like toasts not appearing, duplicate toasts, lost styles, ignored Tailwind classes, or dark mode not applying. This Skill provides authoritative guidance on wiring up the Toaster, choosing the right toast() call, styling, and diagnosing common failures. ## Core Features & Use Cases - Setup and call selection: Mount a single <Toaster /> at the root and pick the right API — plain, typed, loading, promise-based, or headless custom toasts. - Styling and theming: An escalation ladder from defaults and richColors through classNames with !important to fully headless toast.custom(), plus icon and dark-mode theme configuration. - Troubleshooting table: Symptom-to-fix mappings for missing toasts, duplicates under StrictMode, lost stylesheets in Astro, Shadow DOM issues, stacking context problems, and stuck toast.promise calls. - Use Case: A developer's toasts render behind a modal in a Next.js app; the Skill identifies the stacking-context cause and directs moving <Toaster /> to the document root. ## Quick Start Ask how to set up Sonner in a Next.js app and show a success toast after a form submission.