Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

react-hot-toast

free

Lightweight toast library for React with a headless useToaster hook for fully custom UI.

by Timo Lins GitHub npm
visit
react-hot-toast website

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-toast
Use 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>
Visit