What problem does it solve? Sonner toasts often fail in confusing ways: they never appear, render twice, ignore Tailwind classes, hide behind modals, or ignore dark mode. This Skill provides the correct setup pattern, the right toast() call for each scenario, and a symptom-to-fix troubleshooting table so you resolve issues without digging through docs. ## Core Features & Use Cases - Setup and call selection: Mount one <Toaster /> at the root and pick the right call — toast.success, toast.loading, toast.promise, or toast.custom — for each notification scenario. - Styling escalation ladder: Progress from richColors and inline styles through classNames with !important to fully headless toast.custom() for design-system toasts. - Troubleshooting table: Maps symptoms like duplicate toasts, lost styles in Astro or Shadow DOM, stacking-context clipping, and stuck toast.promise loaders to concrete fixes. - Use Case: Your toasts render unstyled after adding view transitions in Astro — the Skill tells you to explicitly import sonner/dist/styles.css in a layout. ## Quick Start Ask how to fix Sonner toasts that appear twice in your Next.js app and follow the guidance to keep a single Toaster mounted in the root layout.