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 authoritative guidance from Sonner's author for wiring up the Toaster correctly, choosing the right toast() call, and diagnosing every common failure mode. ## Core Features & Use Cases - Setup and call selection: Mount one <Toaster /> at the root and pick the correct API — typed toasts, toast.loading, toast.promise, action buttons, or headless toast.custom. - Styling escalation ladder: Progress from defaults and richColors through inline styles and classNames (with !important) to fully headless custom JSX for design-system toasts. - Troubleshooting table: Maps symptoms like duplicate toasts, lost styles in Astro, Shadow DOM issues, stacking-context clipping, and stuck toast.promise loaders to concrete fixes. - Use Case: Your toast renders behind a modal in a Next.js app. The Skill identifies the ancestor stacking context as the cause and 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 app or describe the toast problem you are seeing, such as toasts appearing twice or ignoring dark mode.