react-hot-toast
freeLightweight toast library for React with a headless useToaster hook for fully custom UI.

Try these
Sonner
Opinionated toast component with stacking, swipe to dismiss and promise toasts; ports for Vue, Svelte, Solid and Angular.
canvas-confetti
Fire performant confetti from any point on the page with one function call.
Lenis
Smooth, inertia-based wheel scrolling that keeps native scroll position, sticky and anchors working.
Glisse
A faithful web implementation of Apple's Liquid Glass: refracting buttons, switches, tab bars and menus.
For your agent
Install
npm i react-hot-toastUse it for
- toasts rendered with your own components via the headless useToaster hook
- an existing app that already uses it (no reason to migrate)
Skip it when
- a new project wanting the polished stacked look: use sonner
- the same inline-feedback cases as any toast: validation errors and in-place confirmations belong next to the control
What's inside14 free
- toast()
- toast.success
- toast.error
- toast.loading
- toast.promise
- toast.custom
- toast.dismiss
- toast.remove
- Toaster
- ToastBar
- useToaster()
- useToasterStore()
- Multi Toaster
- Styling
Facts
- Frameworks
- react
- Styling
- css-in-js
- Weight
- small
- Accessibility
- ok
- Maturity
- established
- License
- MIT
- Price
- Free
Alternatives
import toast, { Toaster } from 'react-hot-toast'
<Toaster />
<button onClick={() => toast.success('Saved')}>Save</button>https://react-hot-toast.com
Loading website