# Alert Stack

> A stacked notification panel for price alerts, margin warnings and order fills that fans open on hover and settles as you dismiss.

A React component for shadcn/ui and Tailwind CSS, from ssych ui (https://ssych.com). Free, MIT licensed, the source lands in your repo.

## Install

```bash
npx shadcn@latest add @ssych/alert-stack
```

npm dependencies: clsx, lucide-react, motion, tailwind-merge

## Props

`<AlertStack />`

- `alerts?`: `string[]`
- `onDismiss?`: `(alert: string) => void className?: string`

## Where it belongs

- Empty states: React empty state, alert and notification components: the states most interfaces skip, designed rather than left blank. (https://ssych.com/library/s/empty-state)

## Related

- Empty State: https://ssych.com/library/empty-state.md
- Onboarding Checklist: https://ssych.com/library/onboarding-checklist.md
- New Items Pill: https://ssych.com/library/new-items-pill.md
- Notification Inbox: https://ssych.com/library/inbox.md

## Links

- Live preview and code: https://ssych.com/library/alert-stack
- Source: https://github.com/savvasicevs/ssych-ui
- All components: https://ssych.com/llms-full.txt
