Ask Sonner helps an agent work with Sonner. It covers installing and wiring up the Toaster, picking the right toast call, promise and loading toasts, updating, dismissing and persisting toasts, styling and theming, icons, positioning and running multiple toasters. It also handles trouble such as toasts that do not appear, appear twice, lose styles, ignore Tailwind classes, sit behind a modal or ignore dark mode.
What You Get
- A correct Toaster setup for the app
- The right toast call for the job, including promise and loading toasts
- Styling steps ordered from lightest to heaviest
- Fixes for toasts that are missing, duplicated or unstyled
Common Use Cases
- Adding toasts to a React app
- Showing a loading toast that resolves from a promise
- Fixing toasts that sit behind a modal or ignore Tailwind classes
What Makes It Unique
It is tied to one library, so every answer uses Sonner’s own API and conventions. The styling section is an escalation ladder that starts with the lightest option and moves to heavier ones only when needed, and the troubleshooting section is written around the symptoms people report.
Under The Hood
A SKILL.md plus one more reference file read on demand. It runs no scripts and makes no network calls itself. The model reads the project’s setup, edits the files that hold the Toaster and toast calls and follows the recipes.