Skip to content

Empty states

Last updated: 2026-11-08T19:58:44-03:00 (UTC-3)

An empty state replaces content that is not there yet. It says why the area is empty and what the reader can do about it, in the space the content would take. Part of the design system.

Kind Example What to say
Nothing created yet No virtual keys, no prompts What the object is for, and the action that creates the first one (“Create key”).
Nothing matches Filters exclude every log line That the filters are the reason, with a way to reset them. Keep the filters visible.
Nothing measured A chart interval without reports That no data was reported in this interval. Unknown is not zero: never draw a zero line or show “0” for an interval without reports.

A fourth case looks empty but is not: the reader may not see the objects. When the server filters rows by permission, say so only if the product can tell (“Only keys of your teams are shown”); never imply the list is globally empty.

  • Inside the panel or table it replaces, centered, at the height of a few rows (the console’s .empty keeps a 190px minimum, 145px for .empty.small).
  • A short title in --color-text-soft, an explanation line in --color-text-faint (both checked at 4.5:1 on glass and on surfaces), and at most one button.
  • An optional 18 to 20px icon from the interface set above the title, in --color-text-faint.
  • No illustrations, no jokes; the console is an operations tool read under pressure.
<div class="empty">
<strong>No virtual keys yet</strong>
<p>Keys let an application call the gateway with its own scopes, models and limits.</p>
<button class="identity-button primary" type="button">Create key</button>
</div>
<!-- A chart interval without reports: the axes stay, the message replaces the series. -->
<p class="chart-empty">No measurements reported in this interval.</p>
  • The empty state is part of the page, not a toast or a dialog.
  • Keep page actions (Refresh, Export) available, but disable an export that would produce an empty file and say why next to it.
  • When content arrives, it replaces the empty state in place, without a layout jump larger than the panel.

m7gtw[email protected]