What problem does it solve? Developers integrating the Sonner toast library often hit issues like toasts not appearing, appearing twice, losing Tailwind styles, hiding behind modals, or ignoring dark mode. This Skill provides authoritative setup patterns, API references, and a symptom-to-fix troubleshooting table so these problems are resolved correctly the first time. ## Core Features & Use Cases - Setup and call selection: Mount one <Toaster /> at the root and pick the right toast() variant — success, error, loading, promise, or custom — for each notification scenario. - Styling escalation ladder: Progress from defaults and richColors through inline styles and classNames with !important up to fully headless toast.custom() for design-system toasts. - Troubleshooting table: Diagnose common failures such as duplicate toasts under StrictMode, lost stylesheets in Astro, Shadow DOM styling, stacking-context clipping, and stuck toast.promise loading states. - Use Case: When a toast renders behind a modal in a Next.js app, consult the troubleshooting table to learn the fix is moving <Toaster /> to the document root outside any portal container. ## Quick Start Ask how to set up Sonner in a Next.js app and show a loading toast that updates to success when an upload finishes.