# EmptyState

A useful absence: explain what belongs here and give the next action.

- Family: Status, imported from `mizu-ui` or `mizu-ui/status`
- Docs: https://mizu.user64bit.world/components/empty-state
- Source: https://github.com/0xuser64bit/mizu/blob/main/packages/mizu/src/status/Feedback.tsx

## Usage

```tsx
import { EmptyState, Button } from "mizu-ui";

export function Example() {
  return (
    <EmptyState
      title="No releases yet"
      action={<Button size="sm">Create a release</Button>}
    >
      Your first release starts with a finished piece.
    </EmptyState>
  );
}
```

## Copy it with the shadcn CLI

```sh
npx shadcn@latest init 0xuser64bit/mizu/preset # once, where there is no components.json
npx shadcn@latest add 0xuser64bit/mizu/empty-state 0xuser64bit/mizu/button
```

## Props

- `title`: `string`. Empty-state heading.
- `children`: `ReactNode`. Reason or instructions.
- `action / icon`: `ReactNode`. Optional action and decorative illustration.

## Accessibility

A real heading and plain content; action retains its native semantics. Empty state does not steal focus.

## Motion

CSS transitions explain state changes. Reduced motion removes travel.
