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 ToastStackStates() {
return (
<ToastStack
className="w-full max-w-sm"
durationMs={0}
defaultToasts={[
{
id: "retry",
title: "Upload paused",
description: "Check your connection and try again.",
tone: "error",
},
]}
/>
);
}








