Alert Stack
Collapsed notification deck — rows sit stacked with a peeking edge, fan open on hover, and each dismiss re-settles the pile.
Alert Stack
Collapsed notification deck — rows sit stacked with a peeking edge, fan open on hover, and each dismiss re-settles the pile.
When to use it
When several notifications can arrive at once and stacking them is better than a column that pushes the page down. The peek keeps the count honest while collapsed.
Install
Adds Alert Stack and its dependencies to your project through the shadcn CLI.
$ npx shadcn@latest add https://www.ssicevs.com/r/alert-stack.jsonProps · AlertStack
| Prop | Type | Default |
|---|---|---|
| alerts? | string[] | DEFAULT_ALERTS |
| onDismiss? | (alert: string) => void className?: string | — |
Generated from the component source. Run npm run props:extract after changing a signature.