068
Notifications that settle into a tidy deck, fan open when you hover, swipe away to the side and turn from a spinner into a check when the work behind them finishes.
akatoast·notifications
Run this in any project set up for the shadcn CLI. It copies the Toast Deck source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/toast-deck.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { ToastDeck } from "@/components/toast-deck";
export default function Page() {
return <ToastDeck />;
}A free React component in the Status collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Toast Deck source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| deckrequired | ToastDeckStore | — |
| className | string | — |