React-Toastify
A strong pick. 2nd of 8 toasts and alerts.
React-Toastify is a mature React toast library with many built-in features. It is still a solid, safe pick. For new projects, though, most developers now choose Sonner, and React-Toastify is losing share to it.
Best for: React teams that want a toast library with many built-in options (RTL, swipe, transitions, update/promise toasts, limits) and a long, stable track record.
Scores
Overall7.2
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
It is a capable, stable and safe React toast library, and it is the most configurable one available. Maintenance is slow and mostly in one person's hands. Sonner is now the default for new React projects, and react-hot-toast is smaller, so React-Toastify fits best when you need its extra features.
- npm downloads ratio vs medianDownloadsRatio: 1.83 vs 4.1, so it is losing share
- pistack.xyz/posts/2026-08-22-react-toast-libraries-sonner-react-hot-toast-react-toastify-comparison: Recommends Sonner for new projects
- blog.logrocket.com/react-toast-libraries-compared-2026: Best when many built-in features are needed
GPT-6.2 Sol: 7.8, likely 6.7 to 8.8
React-Toastify is a strong pick for new React apps that need configurable toast behavior with little custom code. Sonner fits shadcn/ui apps more directly, and react-hot-toast is lighter for basic feedback. Slower relative adoption growth and a six-month wait for the recent styling fix keep React-Toastify below default-choice territory.
- github.com/fkhadra/react-toastify/releases/tag/v11.2.0: Current stable release expands behavior controls and restores CSS override compatibility.
- github.com/fkhadra/react-toastify/issues/1287: User reports establish the styling regression and the time to a stable fix.
- blog.logrocket.com/react-toast-libraries-compared-2026: Independent comparison favors React-Toastify for built-in features and react-hot-toast for size.
- ui.shadcn.com/docs/components/radix/sonner: shadcn/ui documents Sonner as its integrated toast component.
- npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio, peers: Install growth trails the catalog baseline and the two closest React peers.
Needed by many5.9
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Most web apps need toast notifications, but this library works only with React. That leaves a large group of developers, but not all of the category's audience. It also does not cover full alert dialogs the way SweetAlert2 does.
- React-only toast library: Serves React apps only
- dependents repos: 97,433 dependent repos shows wide need among React apps
GPT-6.2 Sol: 5.8, likely 4.7 to 7.0
Short status messages are common in interactive apps, and React serves a large share of front-end developers. React-Toastify covers browser-based React toasts, so teams that need modal confirmations or use another framework have a narrower reason to pick it. The survey measures React use, leaving demand for a separate toast library uncertain.
- 2025.stateofjs.com/en-US/libraries/front-end-frameworks: State of JavaScript identifies React as the dominant front-end framework.
- github.com/fkhadra/react-toastify/blob/v11.2.0/package.json: The current release declares React and React DOM 18 or 19 as peers.
- sweetalert2.github.io: SweetAlert2 covers confirmation dialogs and timed toasts.
Helps a lot7.7
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has the richest feature set of the React toast libraries, ships TypeScript types and has good documentation. In independent tests it performed well under a 50-toast stress load. Its limits are a heavier bundle than react-hot-toast, a default look that is less polished than Sonner's, and a keyboard-access gap: the close button could not be reached by keyboard.
- blog.logrocket.com/react-toast-libraries-compared-2026: Broad features, 9.5 kB gzipped, close button not reachable by keyboard
- pistack.xyz/posts/2026-08-22-react-toast-libraries-sonner-react-hot-toast-react-toastify-comparison: Most feature-complete of the three, but heaviest
- npm hasTypes: Ships its own types
GPT-6.2 Sol: 8.3, likely 7.2 to 9.2
Version 11.2.0 offers a typed API for promises, queues, and custom content, plus configurable keyboard focus and an unstyled entry point. It restores CSS variable overrides broken in 11.1.0 and adds an option to disable transitions. Independent React 19 testing found the prior release responsive, though react-hot-toast added less bundle weight. Typed examples make basic usage straightforward for coding agents, whose accuracy on this release remains unmeasured.
- fkhadra.github.io/react-toastify/introduction: Setup examples and built-in notification controls.
- fkhadra.github.io/react-toastify/accessibility: Configurable shortcut, focus behavior, and ARIA labels.
- github.com/fkhadra/react-toastify/blob/v11.2.0/package.json: Bundled TypeScript declarations and an unstyled export.
- github.com/fkhadra/react-toastify/releases/tag/v11.2.0: Restores CSS overrides and adds an option to disable transitions.
- blog.logrocket.com/react-toast-libraries-compared-2026: Tests v11.1.0 on React 19 and measures 9.5 kB gzip against 4.7 kB for react-hot-toast.
Holds up over time6.5
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
The project is still maintained. v11.2.0 came out in October 2026, and v11.1 and v11.2 added features without breaking changes. Activity is low, though: 27 commits and 2 releases in the last year, mostly from one maintainer. Meanwhile new projects are moving to Sonner.
- github commitsLastYear / releasesLastYear: 27 commits and 2 releases in the last year
- github.com/fkhadra/react-toastify/releases: Breaking changes only in v11.0; later releases are additive
- github openPullRequests: 33 open PRs against 167 merged suggests a slow review pace
GPT-6.2 Sol: 6.9, likely 5.5 to 8.2
Two stable releases and 27 commits in the past year show ongoing maintenance, with more commits than Sonner or react-hot-toast in the snapshot. Users reported a styling regression in May that reached a stable fix in October, and several pull requests have been open for over a year. The same maintainer cut both recent releases, and backup release ownership and funding remain unclear.
- github.commitsLastYear, github.releasesLastYear, peers: 27 commits and two releases, compared with five commits each for Sonner and react-hot-toast.
- github.com/fkhadra/react-toastify/issues/1287: Users reported CSS overrides failing in May. The fix shipped in October.
- github.com/fkhadra/react-toastify/pulls: The open list includes fixes submitted in 2025.
- github.com/fkhadra/react-toastify/releases/tag/v11.1.0: April release came from the same maintainer as v11.2.0.
- github.com/fkhadra/react-toastify/releases/tag/v11.2.0: October release delivered user-requested changes and a regression fix.
Used widely6.8
How many use it, and is that growing?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has about 20.5M downloads per 4 weeks and the most dependent repositories in the category, at about 97k. But its yearly ratio of 1.83 is far below the 4.1 median. Sonner grew about 9.5x and react-hot-toast about 2.7x, so React-Toastify is losing ground among new projects.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 20.5M vs 11.2M, a ratio of 1.83 against a 4.1 median
- dependents repos: 97,433 repos, the highest among peers
- peers Sonner downloads: Sonner has 230M downloads and grew about 9.5x
GPT-6.2 Sol: 6.6, likely 5.5 to 7.7
Ecosyste.ms found about 97,400 dependent repositories and 2,074 packages, the largest tracked repository count among the peers. Four-week installs rose from 11.2 million to 20.5 million, or 1.83 times, below the 4.1 times catalog baseline and behind both Sonner and react-hot-toast for growth. Automated installs and incomplete repository coverage leave the share of new projects uncertain.
- dependents.repos, dependents.packages, peers: React-Toastify leads tracked repositories, followed by SweetAlert2 and react-hot-toast.
- npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: 1.83 times year-over-year growth against a 4.1 times catalog median.
- peers: Sonner grew 9.50 times and react-hot-toast grew 2.70 times in the same windows.
- ui.shadcn.com/docs/components/radix/sonner: shadcn/ui provides a direct installation path for Sonner.
Vouched for6.2
Who stands behind it being good?
Claude Opus 5.5: 6.0, likely 4.0 to 7.0
Independent 2026 comparisons describe it as a trusted, feature-rich choice. Most of them recommend Sonner for new apps, however. No framework or design system builds on it the way shadcn/ui builds on Sonner, and there is no Hacker News or Bluesky attention.
- blog.logrocket.com/react-toast-libraries-compared-2026: Recommends it for feature-heavy needs
- pistack.xyz/posts/2026-08-22-react-toast-libraries-sonner-react-hot-toast-react-toastify-comparison: Calls it 'the safe, boring choice' and recommends Sonner for new projects
- hackerNews / bluesky: No stories or posts
GPT-6.2 Sol: 6.4, likely 4.9 to 7.8
LogRocket's React 19 tests found solid performance and working keyboard access in v11.1.0, with limits in its close-button test. Cisco lists React-Toastify in its App Platform disclosures, where it uses the older v8.2.0. Production evidence for v11.2.0 and library-specific satisfaction data are thin.
- blog.logrocket.com/react-toast-libraries-compared-2026: Independent hands-on tests measured bundle size, keyboard access, and burst performance.
- cisco.com/c/dam/en_us/about/doing_business/open_source/docs/AppPlatform-latest-1773956178.pdf: Cisco discloses use of React-Toastify 8.2.0 in App Platform.
Safe6.8
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has no advisories ever, one runtime dependency (clsx) and the MIT licence, so the attack surface is small. The OpenSSF Scorecard is only 4.1: there is no code review, no security policy, unpinned dependencies and weak token permissions. Releases depend on a single maintainer.
- advisories total: 0 advisories
- npm dependencies: 1 dependency
- scorecard score: 4.1, with Code-Review and Security-Policy at 0
GPT-6.2 Sol: 6.6, likely 5.3 to 7.8
The MIT licence is permissive, the package adds one runtime dependency, and OSV lists zero advisories. OpenSSF scores it 4.1, with weak checks for code review, workflow token permissions, dependency pinning, and branch protection. The release tag is signed, while npm publishing safeguards remain unclear and GitHub shows no published security policy.
- advisories.total, scorecard.score, scorecard.checks: Zero OSV advisories and a 4.1 Scorecard with weak repository and workflow controls.
- github.com/fkhadra/react-toastify/blob/v11.2.0/package.json: MIT licence and one direct runtime dependency, clsx.
- github.com/fkhadra/react-toastify/releases/tag/v11.2.0: GitHub verifies the release tag and commit signatures.
- github.com/fkhadra/react-toastify/security/policy: GitHub reports no published security policy.
Good
- It has the largest built-in feature set of the React toast libraries: RTL, drag-to-dismiss, four transitions, stacked mode, limits, toast.update and toast.promise.
- Its API has been stable for years. Since v11 the CSS is injected for you, so setup needs no stylesheet import.
- No known advisories, a single small runtime dependency and the MIT licence.
- Around 97k GitHub repositories depend on it, the most in its category, so AI agents and tutorials know it well.
Bad
- Downloads grew about 1.8x in a year, against a 4.1x median, while Sonner grew about 9.5x and is now the common default.
- One maintainer does most of the work, with only 27 commits and 2 releases in the last year.
- Its bundle is larger than react-hot-toast's, and its default look and setup feel heavier than Sonner's.
- Independent testing found that keyboard users could reach a toast but not its close button.
The numbers
- npm downloads, 4 weeks
- 21M +83% in a year
- GitHub stars
- 13k
- Commits, 12 months
- 27
- npm version
- 11.2.0 Oct 2026
- Versions, 12 months
- 2
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 4.1 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (fkhadra/react-toastify), npm (react-toastify), OSV and the OpenSSF Scorecard.
Toasts and alerts
- 7.7Sonner
- 7.2React-Toastify
- 6.7react-hot-toast
- 6.6SweetAlert2
- 6.2Vue Sonner
- 4.6notistack
- 4.5Toastify JS
- 4.0Notyf