# react-hot-toast

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

Latest version **2.6.0** (published 2025-08-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-hot-toast
pnpm add react-hot-toast
yarn add react-hot-toast
bun add react-hot-toast
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities; popular repo.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.6.0 |
| Published | 2025-08-15 |
| First published | 2020-12-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10971 |
| Author | Timo Lins |
| Maintainers | timolins |
| Keywords | react, notifications, toast, snackbar |

## Links

- npm: https://www.npmjs.com/package/react-hot-toast
- Repository: https://github.com/timolins/react-hot-toast
- Homepage: https://github.com/timolins/react-hot-toast#readme
- Issues: https://github.com/timolins/react-hot-toast/issues
- npm.io page: https://npm.io/package/react-hot-toast

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 2.6.0 (latest) — 2025-08-15
- 2.6.0-beta.0 (beta) — 2025-01-21
- 2.5.2 — 2025-02-15
- 2.5.1 — 2024-12-31
- 2.5.0 — 2024-12-31
- 2.4.1 — 2023-04-28
- 2.4.0 — 2022-09-13
- 2.4.0-beta.0 — 2022-09-03
- 2.3.0 — 2022-07-12
- 2.3.0-beta.1 — 2022-07-09
- 2.3.0-beta — 2022-07-08
- 2.2.0 — 2022-01-04
- 2.1.1 — 2021-08-24
- 2.1.0 — 2021-07-31
- 2.0.0 — 2021-05-31
- … 9 more at https://npm.io/package/react-hot-toast/versions

## README

<a href="https://react-hot-toast.com/"><img alt="react-hot-toast - Try it out" src="https://github.com/timolins/react-hot-toast/raw/main/assets/header.svg"/></a>

<div align="center">
    <img src="https://badgen.net/npm/v/react-hot-toast" alt="NPM Version" />
  <img src="https://badgen.net/bundlephobia/minzip/react-hot-toast" alt="minzipped size"/>
    <img src="https://github.com/timolins/react-hot-toast/workflows/CI/badge.svg" alt="Build Status" />
</a>
</div>
<br />
<div align="center"><strong>Smoking hot  Notifications for React.</strong></div>
<div align="center"> Lightweight, customizable and beautiful by default.</div>
<br />
<div align="center">
<a href="https://react-hot-toast.com/">Website</a> 
<span> · </span>
<a href="https://react-hot-toast.com/docs">Documentation</a> 
<span> · </span>
<a href="https://twitter.com/timolins">Twitter</a>
</div>

<br />
<div align="center">
  <sub>Cooked by <a href="https://twitter.com/timolins">Timo Lins</a> 👨‍🍳</sub>
</div>

<br />

## 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()`](https://react-hot-toast.com/docs/use-toaster)_

## Installation

#### With pnpm

```sh
pnpm add react-hot-toast
```

#### With NPM

```sh
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!

```jsx
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](https://react-hot-toast.com/docs).

---
_Source: https://npm.io/package/react-hot-toast · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
