Stacked Toasts
FREENotifications that pile up politely.
React 19Tailwind 4motionadded 2026-11-26
live preview · stacked toasts
Installation
Into your bowl in one line.
The CLI drops the source straight into your project. You own every line; there’s no package to update.
- 01
Add it with the CLI
$ npx bowls@latest add stacked-toasts - 02
Or go manual: install the one dependency
npm i motion - 03
Serve it
Paste the source into
components/bowls/stacked-toasts.tsxand import it — the Code tab’s demo.tsx shows a full example.
Props
| PROP | TYPE | DEFAULT | WHAT IT DOES |
|---|---|---|---|
| toasts | Toast[] | — | From the useToasts() hook. |
| onDismiss | (id: number) => void | — | Remove a toast. |
| visible | number | 3 | How many stay in the stack. |