Empty
Explain why a section is empty and offer a next step.
Basic usage
Once the list is confirmed empty, combine Empty.Title, Empty.Description, and an optional action. In the example, creating a project replaces the empty state with the first result.
No projects yet
Create a project to organize your work.
API
Key props and defaults.
| Prop | Values and behavior | Default |
|---|---|---|
Root.layout | section, compact, page | section |
Title.as | h1, h2, h3, h4, h5, h6 | h2 |
Title.size | 1, 2, 3, 4, 5, 6 | 6 |
Actions.children | JSX.Element | — |