Toast — Action
- from @astryx
- by Astryx
Persistent toasts with a trailing button or link so the user can act on the notification, like undoing a delete or viewing a report.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @astryx/example-toast-actionRegistry dependencies0
The CLI adds no other registry items with this one.
