Skip to content
JS
Comparison

sonner vs react-hot-toast

ReactPackage data 25 Sept 2026
sonnerv2.0.8, 9 Aug 2026

An opinionated toast component for React.

$ npm install sonner
react-hot-toastv2.6.1, 16 Sept 2026

Smoking hot React Notifications. Lightweight, customizable and beautiful by default.

$ npm install react-hot-toast
Metricsonnerreact-hot-toastDifference
Weekly downloads37,931,0792,749,393sonner 13.8x higher
12-month download growth+663%+58%sonner +604 pts
Gzip size---
Minified size---
Dependencies02react-hot-toast 2 more
Unpacked size170 kB195 kBsonner 15% smaller
Latest release2.0.8, 9 Aug 20262.6.1, 16 Sept 2026react-hot-toast 38 days more recent
Releases, last 12 months11Same
First published5 Feb 20238 Dec 2020react-hot-toast 2.2 years earlier
GitHub stars13,00110,973sonner +18%
Open issues37112react-hot-toast 75 more
Open pull requests4026sonner 14 more
Contributors89--
Commits, last 52 weeks115sonner 2.2x higher
TypeScript typesBundledBundledSame
Module formatESM + CommonJSESM + CommonJSSame
Runtimes---
LicenseMITMITSame

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

sonner37.9m latest weekreact-hot-toast2.7m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

sonner

Major versions
  1. 0.0.15 Feb 2023
  2. 1.0.020 Sept 2023
  3. 2.0.018 Feb 2025
Last 5 releases
  1. 2.0.89 Aug 2026
  2. 2.0.72 Aug 2025
  3. 2.0.63 Jul 2025
  4. 2.0.52 Jun 2025
  5. 2.0.430 May 2025
61 releases in total, 1 in the last 12 months

react-hot-toast

Major versions
  1. 0.1.28 Dec 2020
  2. 1.0.018 Dec 2020
  3. 2.0.031 May 2021
Last 5 releases
  1. 2.6.116 Sept 2026
  2. 2.6.015 Aug 2025
  3. 2.5.215 Feb 2025
  4. 2.5.131 Dec 2024
  5. 2.5.031 Dec 2024
20 releases in total, 1 in the last 12 months
sonner

-

react-hot-toast

-

sonner

-

react-hot-toast

-

  • Need no runtime dependenciessonner (sonner has 0, react-hot-toast has 2)
  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirementsonner: none declared; react-hot-toast: >=10 (engines field in package.json)
  • Need the more recent releasereact-hot-toast (2.6.1 on 16 Sept 2026 vs 2.0.8 on 9 Aug 2026)
  • Higher weekly npm downloadssonner (37.9m vs 2.7m)

Each line is generated from the data above.

Indexability: Indexed.