For AI agents: the complete documentation index is available at https://wallarm.github.io/design-system/llms.txt, the full documentation bundle is available at https://wallarm.github.io/design-system/llms-full.txt, and this page is available as Markdown at https://wallarm.github.io/design-system/templates/page-states.md.

Page states

Components: Page, PageHeader, PageHeaderGroup, PageTitle, PageDescription, PageActions, PageToolbar, PageContent

+31 more

Button, SearchInput, SegmentedTabs, SegmentedTabsList, SegmentedTabsTrigger, NumericBadge, Table, TableEmptyState, EmptyState, EmptyStateIllustration, EmptyStateMessage, EmptyStateTitle, EmptyStateDescription, EmptyStateActions, EmptyStateLink, Alert, AlertIcon, AlertContent, AlertTitle, AlertDescription, AlertControls, Tooltip, TooltipTrigger, TooltipContent, Badge, Avatar, Code, Ip, FormatDateTime, DropdownMenu, VStack

One API tokens list page in every state it goes through. The header, toolbar and columns never change between stories, so the only difference is the state itself.

What it shows

  • The Resource list page frame, with one story per list state.
  • An Entity table of API tokens with the row menu in the master cell.
  • Loading, first use, no results and a failed list from Empty states; the failed list is the same composition as the Patterns/Error states Default story.
  • Two states no pattern covers: read-only access (a disabled create action with a tooltip, no row menu, an info Alert) and partial failure (a warning Alert over the rows that did load).
  • A "Copy token ID" toast from Feedback toasts.

Examples

Data: search, status tabs and the row menu all work.

Data: one create action in the header, search and status tabs with counts in the toolbar, and the token table. Hover a row and the … row menu appears in the name (master) cell, through meta.renderMenuAction on the first column. "Copy token ID" reports through one toast with a stable id, so repeated copies update it instead of stacking.

First load: skeleton rows, tabs without counts.

First load: the real header and toolbar with skeleton rows under the column headers. Counts are unknown yet, so the tabs drop their badges.

Nothing yet: the header keeps the create action, so the empty state only links to the docs.

First use: nothing exists yet. The header keeps the one create action, so the empty state has no button of its own, only an illustration that names the entity and a link to the docs.

Search matched nothing: "Reset filters" clears the search.

Search matched nothing: the typed value stays, counts drop to zero, and the empty state offers "Reset filters", never a create action.

The list failed to load: EmptyState with "Try again" in place of the rows.

The list failed to load: header, toolbar and column headers stay, and the Patterns/Error states EmptyState with "Try again" takes the place of the rows. Retrying shows skeleton rows, then the data.

Read-only access: the list stays, every write action goes.

Read-only access: the list stays fully visible, the create action is disabled with a tooltip that names who can create tokens, the row menu is gone, and an info Alert explains the state for as long as it holds.

Usage data failed for some rows: a warning, an em dash in the affected cells.

Partial failure: the tokens loaded but their usage data did not. A warning Alert says what is missing and offers "Retry"; the affected cells show the em dash instead of hiding rows.