Skip to content
Browse the guide
Patterns

Empty and unavailable states

Explain why content is absent and offer the right next action.

On this page

An empty region is an explanation of the current context. No records, no matching results, unavailable access and failed loading are different facts and need different next actions.

#Diagnose before drawing

StateExplainUseful next action
First useNo content has been created yetCreate or import, with a short explanation
No matchesCurrent criteria exclude the available contentChange or clear criteria
No permissionContent is not available to this identityRequest access or change context
Failed loadingThe result could not be obtainedRetry while preserving criteria
Offline with cached dataDisplayed content may be staleExplain freshness and supported work
Completed collectionNothing remains to doConfirm completion or view history

Do not show No results while a request is still pending. A familiar illustration can support tone, but must not displace the explanation or recovery action.

Absence has different causes

  1. No contentCreate a first itemNothing exists in this context
  2. No matchesChange the criteriaContent exists outside the current filter
  3. Failed loadingRetryThe content is not known to be empty

Keep the title and useful controls. An illustration cannot replace the explanation or next action.

Text description
  • No content: Create a first item. Nothing exists in this context
  • No matches: Change the criteria. Content exists outside the current filter
  • Failed loading: Retry. The content is not known to be empty

#Preserve useful structure

Keep the region title, relevant filters and navigation. Remove controls that have no meaningful use in this state, or explain their unavailability. An empty table can retain column context when it helps explain what will appear, but should not display fake records as if they were real.

Reserve enough space to avoid a severe jump when content arrives, while allowing long messages to wrap. Never use a fixed empty-state height that hides its action at zoom or narrow widths.

#Recover in place

Keep query and filter values after a failure. Clearing filters should affect only the criteria, not unrelated edits. A new content action should return to the collection with the result recognizable; avoid an empty page that requires a manual refresh after successful creation.

#Acceptance scenario

Visit a fresh collection, create one item, filter it out, simulate a failed reload and remove permission. Confirm each state has truthful wording and the appropriate action. Check keyboard focus, status announcements and readable fallback without illustrations. See search, onboarding and content design.

A failed optional panel can coexist with useful primary work. Keep failure scoped to that region, rather than declaring the entire task empty.