Skip to main content
  1. Docs
  2. Components
  3. Feedback

Empty state

The message where content would be: nothing yet, no results, or an error. DataState picks the right one.

Import
@qeetrix/react/experimental
Status
ExperimentalSince 0.0.4
Renders
<div>Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Behaviour

Heading
With level, the title is a heading in the page's outline.
Icon
Decorative: aria-hidden.
Error
DataState's error is announced; the raw error is never shown.
Height
DataState holds its height between loading and error.

02

Tested

On every change, before it ships.

  • axe, WCAG 2.2 A and AA, in Chromium on every pull request
  • Firefox and WebKit every night
  • Reduced motion: what moves fades or holds still instead
  • Forced colours and right to left
Next — Empty stateChangelog