Toasts and alerts
Show short messages that come and go, such as “Saved”, and alert dialogs. We rate 8; Sonner leads with 7.7 out of 10.
The numbers
Read from GitHub, npm and the OSV advisory database on 21 November 2026. Downloads also count build servers and installs by other tools, and they grow for almost every package: for the median project we rate, they are ×4.1 of a year before.
| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
|---|---|---|---|---|---|---|
| Sonner | 230M | ×9.5 | 13k | 5 | Aug 2026 | 0 |
| React-Toastify | 21M | +83% | 13k | 27 | Oct 2026 | 0 |
| react-hot-toast | 20M | ×2.7 | 11k | 5 | Sept 2026 | 0 |
| SweetAlert2 | 4.8M | +60% | 18k | 110 | May 2026 | 0 |
| Vue Sonner | 13M | ×17 | 1.5k | 2 | Oct 2025 | 0 |
| notistack | 11M | ×2.4 | 4.1k | 1 | Jan 2025 | 0 |
| Toastify JS | 644k | +79% | 2.5k | 0 | Jul 2022 | 0 |
| Notyf | 263k | +96% | 2.9k | 0 | Jun 2021 | 0 |