ui-kit0.0

Display

Empty state

A useful next step when there is nothing yet.

No projects yet

Say what is missing, why it matters and the one thing to do about it. The icon sits in a soft tile so the screen stays calm.

No projects yet

Projects keep your files, members and deploys in one place. Create your first one to get started.

When to use

  • First use: a list, table or dashboard that has no data yet.
  • Zero results: a search or filter that matched nothing (offer a way to clear it).
  • Cleared states: an inbox at zero, a finished queue.

Not for errors (use an alert or an error page) or for content that is still loading (use a skeleton).

Variants

default has no container, so it fits inside a card or table body. dashed outlines the area when it is itself the target (drop zones, “add the first…”). card gives it a bordered surface of its own.

Drop files to upload

PNG, JPG or PDF up to 10 MB each.

No results for “invoice 2031”

Check the spelling or try a broader search, like a client name.

Inside a card

Put a default Empty in CardContent. The card keeps its header, so people still know where they are.

Invoices

Everything you have billed this year.

0 total

No invoices in 2026

Invoices you send appear here with their payment status.

Media

EmptyMedia defaults to the icon variant: any Icon in a 48px tile. Use variant="illustration" for an image or SVG (up to 12rem wide) instead.

API

Empty

PropTypeDefaultDescription
variant'default' | 'dashed' | 'card''default'No container, a dashed outline, or a bordered surface.
...propsHTMLAttributes<div>—Forwarded, including ref and className.

EmptyMedia

PropTypeDefaultDescription
variant'icon' | 'illustration''icon'An icon in a soft tile, or a free slot for an image or SVG.

EmptyTitle

PropTypeDefaultDescription
as'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div''h3'Heading level that fits the page outline.

EmptyHeader groups media, title and description; EmptyDescription is a paragraph; EmptyActions wraps the buttons. All forward ref and className. Every part is Server Component–safe.

Accessibility

  • Plain text and headings: nothing is announced on its own, so a screen reader meets it in reading order.
  • The icon tile is decorative (the built-in icons are aria-hidden); the title carries the meaning.
  • Pick the title level that fits the page outline, or as="div" when no heading is wanted.
  • Text and the muted description meet 4.5:1 contrast in light and dark.

Motion

  • One soft rise on mount (8px, a 4px blur that clears, under 400ms).
  • Reduced motion: it simply appears.