# React-Toastify: 7.2 out of 10

A strong pick. 2nd of 8 in [Toasts and alerts](https://elestia.ai/opensource/toasts/index.md).

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

- **Overall: 7.2** (likely 6.1 to 8.2)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (7.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.
- **Needed by many: 5.9** (likely 4.9 to 7.0)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (5.8): 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.
- **Helps a lot: 7.7** (likely 6.6 to 8.6)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (8.3): 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.
- **Holds up over time: 6.5** (likely 5.3 to 7.6)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (6.9): 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.
- **Used widely: 6.8** (likely 5.8 to 7.9)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (6.6): 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.
- **Vouched for: 6.2** (likely 4.5 to 7.4)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (6.4): 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.
- **Safe: 6.8** (likely 5.7 to 7.9)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (6.6): 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.

## 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

- Downloads, 4 weeks: 21M
- In a year: +83%
- GitHub stars: 13k
- Commits, 12 months: 27
- Last npm release: Oct 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/fkhadra/react-toastify
- npm: https://www.npmjs.com/package/react-toastify

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
