Back to Components
Components
Notification Toast
Toast notification with variants, auto-dismiss, and optional action button.
Sync complete
Your dashboard is ready with the latest data.
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/notification-toast.tsx
Installation
Using shadcn CLI
npx shadcn add notification-toast --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge