react-hot-toast provides lightweight, customizable toast notifications for React, with features like a promise API for automatic loaders and accessible notifications. It uses headless hooks so developers can create their own toast UI (for example with useToaster), and a Toaster component to render notifications emitted via toast() in the app.
Project status
- Actively maintained, with recent upstream activity on 2025-08-16 and a tagged update v2.6.0 on 2025-08-15.
- Apparent update cadence is moderately paced, with v2.5.2 in 2025-02 and a v2.6.0-beta leading up to the final v2.6.0 in 2025-08 (about 6 to 7 months between stable updates in this snapshot).
AI summary generated Today
Recent updates
v2.6.0
9 months agov2.6.0 adds multi-toaster support by introducing a toasterId that routes toast state to a specific Toaster instance. It also updates the build pipeline to minify inline templates (in line with “minify inlined CSS” in the release notes).
BreakingFeaturesv2.5.2
2/15/2025v2.5.2 primarily addresses a race condition fix, plus a TypeScript typing update to use React.ReactElement instead of JSX.Element in several exported types and component props. The code changes also include some CI/tooling adjustments (pnpm setup) and contributor-facing metadata updates in package.json.
v2.6.0-beta.0
1/21/2025v2.6.0-beta.0 introduces multi-toaster support by adding a `toasterId` concept and routing toast actions to the correct toaster instance. It also adds more ergonomic APIs for bulk operations (`dismissAll` and `removeAll`) and updates the toaster DOM attribute usage for the rendered container.
Features