timolins/react-hot-toast

Smoking Hot React Notifications 🔥

TypeScript

10,980

384 commits

updated Sep 16, 2026

See the code

README

react-hot-toast - Try it out

NPM Version minzipped size Build Status

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


Cooked by Timo Lins 👨‍🍳

Features

  • 🔥 Hot by default
  • 🔩 Easily Customizable
  • ⏳ Promise API - Automatic loader from a promise
  • 🕊 Lightweight - less than 5kb including styles
  • ✅ Accessible
  • 🤯 Headless Hooks - Create your own with useToaster()

Installation

With pnpm

pnpm add react-hot-toast

With NPM

npm install react-hot-toast

Getting Started

Add the Toaster to your app first. It will take care of rendering all notifications emitted. Now you can trigger toast() from anywhere!

import toast, { Toaster } from 'react-hot-toast';

const notify = () => toast('Here is your toast.');

const App = () => {
  return (
    <div>
      <button onClick={notify}>Make me a toast</button>
      <Toaster />
    </div>
  );
};

Documentation

Find the full API reference on official documentation.

notifications
react
snackbar
toast-notifications

timolins/react-hot-toast

Smoking Hot React Notifications 🔥

TypeScript

10,980

384 commits

updated Sep 16, 2026

See the code

README

react-hot-toast - Try it out

NPM Version minzipped size Build Status

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


Cooked by Timo Lins 👨‍🍳

Features

  • 🔥 Hot by default
  • 🔩 Easily Customizable
  • ⏳ Promise API - Automatic loader from a promise
  • 🕊 Lightweight - less than 5kb including styles
  • ✅ Accessible
  • 🤯 Headless Hooks - Create your own with useToaster()

Installation

With pnpm

pnpm add react-hot-toast

With NPM

npm install react-hot-toast

Getting Started

Add the Toaster to your app first. It will take care of rendering all notifications emitted. Now you can trigger toast() from anywhere!

import toast, { Toaster } from 'react-hot-toast';

const notify = () => toast('Here is your toast.');

const App = () => {
  return (
    <div>
      <button onClick={notify}>Make me a toast</button>
      <Toaster />
    </div>
  );
};

Documentation

Find the full API reference on official documentation.

notifications
react
snackbar
toast-notifications

Project health

Overall

3.4/10

Maintained

5/10

Code review

1/10
OpenSSF Scorecard

Latest release

2.6.1 · Sep 16, 2026

Releases this year

1

Significant stargazers

(top 24 of 53)

Sindre Sorhus

84,740 followers · starred Feb 2021

Renée

499 followers · starred Mar 2023

Yagiz Nizipli

2,346 followers · starred Feb 2021

Jose Francisco 'Kiko' Verdú Gambín

1,741 followers · starred Dec 2020