About
A stacked notification list that shows multiple toasts with tone icons, optional actions, dismiss buttons, and auto-dismiss timing that pauses while a user hovers or focuses it.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Toast Stack to your project and fits it to your theme.
Code
How Toast Stack is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import ToastStack from "@/components/ui/toast-stack";
export default function ToastStackDemo() {
return (
<ToastStack
className="w-full max-w-sm"
durationMs={0}
defaultToasts={[
{
id: "saved",
title: "Changes saved",
description: "Your team can see the latest version.",
tone: "success",
},
{
id: "invite",
title: "Invitation sent",
description: "Alex can join the workspace from their email.",
tone: "info",
},
]}
/>
);
}








