# Empty State

> An empty state for trading and fintech dashboards: a quiet dotted field with one line of copy and one call to action.

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/empty-state
```

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

## Props

`<EmptyState />`

- `icon?`: `ReactNode`
- `title?`: `string`
- `hint?`: `string`
- `action?`: `string | null`
- `onAction?`: `() => 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

- Alert Stack: https://ssych.com/library/alert-stack.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/empty-state
- Source: https://github.com/savvasicevs/ssych-ui
- All components: https://ssych.com/llms-full.txt
