Smoking hot React Notifications. Lightweight, customizable and beautiful by default.
npm install @aurory/react-hot-toast- ๐ฅ 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()_
#### With yarn
``sh`
yarn add react-hot-toast
#### With NPM
`sh`
npm install react-hot-toast
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 (
Find the full API reference on official documentation.