Docs menu

Guides


Primitives
Forms
Layout
Feedback
Overlays
Navigation
Data Display
AI

Empty State

The "nothing here yet" panel for an empty list, inbox, search or project. It's a real <section> labelled by its own heading through aria-labelledby, and the heading is a real <h1>–<h6> picked withheadingLevel, so someone moving through the page by heading or landmark lands on it and hears what's missing.

No conversations yet

Start a chat and it will show up here, with its files and tool runs.

Shape

It's a container: --kernel-radius-container paired with--kernel-padding-container-curve, plus extra block padding added on top of the curve padding rather than in place of it, so the content sits calmly in the middle and still clears the corners at Round.

Examples

Minimal

Just a heading and a sentence.

No files

Drop files here to add them.

Usage
<EmptyState title="No files" description="Drop files here to add them." />

Plain

No outline, for a surface that already has its own edge.

Nothing scheduled

Usage
<Card>
  <EmptyState variant="plain" headingLevel={2} title="Nothing scheduled" />
</Card>

Playground

Toggle every adjustable prop and watch the component — and the code — update live.

No results

Try a different search, or clear the filters.

Unstyled

Same component — Kernel look stripped. See Platforms.

headingLevel
variant
icon
actions
Usage
<EmptyState
  title="No results"
  description="Try a different search, or clear the filters."
  icon={<SearchIcon />}
  actions={<Button>Clear filters</Button>}
/>

Props

Props for Empty State.
PropTypeDefault
titleReactNode (required)—
headingLevel1 | 2 | 3 | 4 | 5 | 63
descriptionReactNode—
iconReactNode—
actionsReactNode—
variant"dashed" | "plain""dashed"
childrenReactNode (between description and actions)—

The custom element uses a heading attribute rather thantitle, which every element already has as its native hover tooltip, and takes slot="icon",slot="heading", slot="description" andslot="actions" children.

Accessibility

  • The section's accessible name is its heading, and its description is the description text.
  • The icon is aria-hidden: the heading already says what it means.
  • Pick headingLevel to fit the page outline, rather than for its size; the size stays the same.