Back to Components
Components

Toast Stack

Stackable toast notifications with auto-dismiss, variants, and slide-in animation.

New message

You have a new comment waiting.

Payment received

Invoice #2041 was paid.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/toast-stack.tsx

Installation

Using shadcn CLI

npx shadcn add toast-stack --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge