Skip to content
GitHub
Sections

Reference · Components and layout

Empty state

This is a spec: descriptive guidance, not a checkable rule. It carries no forbidden and instead pair, and no jig check detector applies to it directly.

The spec

Four distinct cases. Collapsing them into one generic "No data" is the failure (E-30).

CaseMessageAction
Never had dataWhat this collection is forThe creation action, prominent
Filtered to nothingWhich filters are activeClear filters
Error loadingThat it failed, and whether it is transientRetry
No permissionThat access is restricted, not that it is emptyWho to ask

Rules

  • Never show "no results" when the cause was an error. The user will search for something that was there all along.
  • The filtered-empty state repeats the active query so the user can see the typo.
  • Empty is not a full-page illustration in product or operator. It is a sentence and a button inside the container that would have held the data.
  • Empty state occupies roughly the space the filled state would, or the layout jumps when data arrives.

Mode variance: illustration is permitted in product empty states only, and never in operator (01-modes.md).

Kind
Spec
Section
Components and layout

Read as plain text