Sign inGet started
–

Guidance on setting up, styling, and troubleshooting Sonner, a React toast library

Lift · GLM-5.3-flash—untestable in our sandbox · why ↓
92
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
LicenseMITserved via MCP

What it does

Guide to Sonner, the React toast library — install and wire up the Toaster, pick the right toast() call, promise and loading toasts, updating, dismissing and persisting toasts, styling, theming and icons, positioning and multiple toasters. Use when working with Sonner or troubleshooting it — toasts that don't appear, appear twice, lose their styles, ignore Tailwind classes, sit behind a modal, or don't follow dark mode.

#library#react#toast#troubleshooting

Quality judgment

completeness
9.0/10
clarity
9.0/10
trigger quality
8.0/10
examples
8.0/10
structure
9.0/10
overall
8.5/10

The document provides thorough, well-organized coverage of Sonner setup, API patterns, styling escalation, and troubleshooting. It clearly distinguishes between default and headless approaches, covers edge cases like dark mode and positioning, and includes practical recipes for updating and persisting toasts. The only minor deduction is the absence of explicit TypeScript type signatures, but the prop tables and examples more than compensate.

Files (3)

API.md · 4.6 KBLICENSE · 1.0 KBSKILL.md · 7.2 KB