Oddmash UI
All components

EmptyState

Explain why a view has no content.

Usage

Name what is missing and include one next action when there is something the user can do.

Accessibility

Use a heading appropriate to the page hierarchy and a descriptive action label.

PropertyTypeDefault
childrenReactNodeNone
<EmptyState>
  <strong>No events captured</strong>
  <p>Interact with the page to start filling the timeline.</p>
  <Button variant="secondary" onClick={() => location.hash = '/interaction-pattern'}>
    Open Interaction Lab
  </Button>
</EmptyState>

Interactive documentation