Skip to content

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.

No projects yet
No results for “billng”
Couldn't load deployments

Three kinds of empty

KindCauseOffer
First useNothing has been created yet.Explain the value in one sentence and give the primary action.
No resultsA search or filter excluded everything.Echo the query, suggest a fix, and offer to clear filters.
ErrorContent failed to load.Say what happened in plain words and offer to retry. Keep the page usable.

Guidelines

  • Use the Empty component, with an icon in EmptyMedia, 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.