A lightweight (5kb gzipped) React toast notification library with automanaged queue and built-in accessibility. Current stable version is 0.0.9 (April 2020). It wraps your app with a ToastProvider and exposes toast.show() and toast.hide() via HOC or render props. Includes TypeScript definitions, customizable position, timeout, and presentational components. Compared to alternatives like react-toastify, it's smaller with less configuration but fewer built-in variants and no built-in animations.
npm install react-awesome-toastsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to wrap an app with ToastProvider, use withToast HOC, and trigger a toast with show().
Use a fork or consider alternatives like react-toastify that support React 18.
Either reuse the default Toast component or implement similar aria-live, focus restoration, and keyboard interaction.
Use one of the supported positions: 'top-right', 'bottom-right', 'top-left', 'bottom-left', 'top-center', 'bottom-center'.
Wrap the component tree with <ToastProvider> before using withToast.
Run `npm install react-awesome-toasts` and ensure import path is correct: `import { ToastProvider } from 'react-awesome-toasts'`.No dependency data recorded yet.