What problem does it solve? Developers integrating Sonner toasts in React and Next.js apps often hit issues like toasts not appearing, duplicating, losing Tailwind styles, sitting behind modals, or ignoring dark mode, and this Skill provides direct answers and fixes. ## Core Features & Use Cases - Setup and Call Selection: Mount one <Toaster /> at the root and pick the right toast() variant, including success, error, loading, promise, and headless custom toasts. - Styling and Theming: Apply an escalation ladder from richColors and inline styles to classNames with !important and fully headless toast.custom(), plus icon swaps and dark mode via theme="system" or next-themes. - Troubleshooting Table: Diagnose duplicate toasts from double-mounted Toasters, missing styles in Astro or Shadow DOM, stacking context issues, and stuck toast.promise loading states. - Use Case: When a toast renders behind a modal in a Next.js app, the Skill directs you to move <Toaster /> to the document root outside any portal container. ## Quick Start Ask how to set up Sonner in a Next.js layout and show a success toast after a form submission.