Sonner vs React Hot Toast
In 4,864 JavaScript/TypeScript projects set up for AI coding agents, Sonner is a dependency in 583 (12.0%) and React Hot Toast in 77 (1.6%): Sonner is 7.6× as common. Among repos created in the last 90 days that use a ui components and icons tool, Sonner is in 15.1% and React Hot Toast in 1.4%, against 30.9% and 4.1% of older ones. 27 projects list both, often a sign of a migration or of a monorepo with several apps.
UI components and icons npm Updated Nov 17, 2026
| Sonner | 12.0% | |
|---|---|---|
| React Hot Toast | 1.6% |
Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.
Side by side
| Sonner | React Hot Toast | |
|---|---|---|
| Agent projects that use it | 583 | 77 |
| Rank in ui components and icons | #4 | #17 |
| In new repos with a ui components and icons tool (last 90 days) | 15.1% | 1.4% |
| In older repos with one | 30.9% | 4.1% |
| Downloads, last 7 days | 59.2M | 5M |
| GitHub stars | 13.2K | 11K |
| Last push to its repo | Aug 10, 2026 | Sep 16, 2026 |
| License | MIT | MIT |
| Funding | — | — |
| Projects that list both | 27 | |
Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.
By coding agent
| Projects set up for | JavaScript/TypeScript repos | Sonner | React Hot Toast |
|---|---|---|---|
| Claude Code | 2,617 | 11.3% | 1.3% |
| GitHub Copilot | 2,350 | 11.0% | 1.4% |
| Cursor | 1,990 | 15.3% | 2.3% |
| Gemini CLI | 422 | 8.1% | 1.4% |
| OpenAI Codex | 409 | 8.8% | 0% |
| OpenCode | 304 | 9.2% | 0% |
| OpenClaw | 241 | 2.9% | 0% |
| Devin Desktop | 231 | 14.3% | 2.2% |
| Kiro | 125 | 15.2% | 0% |
| Roo-Code | 90 | 14.4% | 0% |
Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.
Sonner
Opinionated toast notification component for React applications.
Most often used with it:
| Lucide React | 96.4% of its projects |
|---|---|
| clsx | 95.9% of its projects |
| Tailwind Merge | 95.5% of its projects |
| Class Variance Authority | 94.3% of its projects |
| Radix UI | 79.2% of its projects |
npm install sonner
React Hot Toast
Lightweight, customizable toast notification component library for React.
Most often used with it:
| Lucide React | 81.8% of its projects |
|---|---|
| clsx | 77.9% of its projects |
| React | 98.7% of its projects |
| Next.js | 74.0% of its projects |
| Tailwind Merge | 74.0% of its projects |
npm install react-hot-toast
More matchups
How we count
Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.