---
site: ui.zyx.tw
url: https://ui.zyx.tw/empty-state
title: Empty State
description: "One sentence and the next step when a list or a search has no rows, with a table row variant."
---

# Empty State

One sentence and the next step when a list or a search has no rows, with a table row variant.

Group: Blocks.

## Install

```bash
bunx shadcn@latest init https://ui.zyx.tw/r/base.json
bunx shadcn@latest add @zyx1121/empty-state
```

The first line sets a project up on the base; skip it if the project already has it.

## Item

### Empty State (`empty-state`)

One sentence and the next step when a list or a search has no rows, with a table row variant.

- Install: `bunx shadcn@latest add https://ui.zyx.tw/r/empty-state.json`
- JSON: [empty-state.json](https://ui.zyx.tw/r/empty-state.json)
- Page: [https://ui.zyx.tw/empty-state](https://ui.zyx.tw/empty-state) ([Markdown](https://ui.zyx.tw/empty-state.md))
- Registry dependencies: `https://ui.zyx.tw/r/button.json`, `https://ui.zyx.tw/r/table.json`

## More

- [Index](https://ui.zyx.tw/index.md): every item
- [Agent instructions](https://ui.zyx.tw/agent-instructions.md): the call order and the rules
- [DESIGN.md](https://github.com/zyx1121/www.zyx.tw/blob/main/apps/ui/DESIGN.md): the design contract
