EmptyState

A guided no-content surface for docs, dashboards, CMS lists, and setup flows.

EmptyState turns “nothing here” into a next step instead of a dead end.

AX
No posts indexed yet

Add Markdown files under `content/posts` and rerun `cargo ax build --clean`.

Usage

Code
ax
import { EmptyState } from "@axonyx/ui/foundry/EmptyState.asx"

<EmptyState>
  <span slot="icon">AX</span>
  <span slot="title">No posts indexed yet</span>
  Add Markdown files and rerun the build.
  <a slot="actions" class="ax-button" href="/docs">Open docs</a>
</EmptyState>

EmptyState API

Inline API contract for the native `.asx` component.

  • slot icon: compact visual marker
  • slot title: primary empty-state heading
  • children: description text
  • slot actions: buttons or links