# Empty

> A composable empty-state block for when there's no data to show — no results, no events, an empty folder, cleared filters. Ships Empty plus EmptyHeader, EmptyMedia (with a stacked 'icon' variant), EmptyTitle, EmptyDescription and EmptyContent, so you can drop in an icon or illustration, a title, supporting copy and call-to-action buttons. Dependency-free (just cva + cn).

- Author: [Cnippet](https://21st.dev/@cnippet.dev)
- License: mit
- Tags: Placeholder, Empty State, Empty
- npm dependencies: class-variance-authority
- Live preview: https://21st.dev/@cnippet.dev/components/cnippet-empty

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/cnippet.dev/cnippet-empty?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/placeholder.md
