Empty states
What to show when there's nothing to show — first use, no results, and errors.
An empty screen is a moment of maximum attention with minimum content. Use it to explain what belongs here and offer the next step.
examples/patterns/empty-states.tsx
No projects yet
Create a project to deploy your first site.
No results for “billng”
Check the spelling or clear filters.
Couldn't load deployments
You appear to be offline. We'll retry when you reconnect.
Three kinds of empty
Guidelines
- Use the
Emptycomponent, with an icon inEmptyMedia, a title, a one-sentence description and at most two actions. - Match the container. Inside a card or table, use
variant="outline"and compact padding; on a full page, center it with generous space. - Don't blame. No results for “billng” is neutral; You made a typo is not.
- Keep the frame. Show table headers, filters and navigation around the empty state so people keep their bearings.
- Illustrations are optional. An icon is enough; a large illustration on every empty table becomes noise.