Core UI
Empty State
Centred placeholder for an empty list, table, or panel with an icon slot, title, description, and action slot.
$ velocityx add empty-state Built for astro.
No drafts yet
Side panels you start will park here so you can pick up where you left off.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| title | string | Yes | ||
| description | string | No |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
components/velocity/empty-state/EmptyState.astro Using the Empty State component
Install it with velocityx add empty-state.
The CLI writes the source straight into your project — no runtime dependency, no registry
lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.
Related components
More from Core UI.
Single avatar or an overlapping stack with a plus-N overflow chip, falling back to deterministic initials-over-tint when no image is given.
astroSingle pill component covering solid, soft, and outline badge variants across brand and semantic tones, with an optional removable tag mode.
astroStatic breadcrumb trail with BreadcrumbList microdata that collapses the middle segments into an ellipsis on long paths.
astroOne button primitive covering primary/secondary/ghost/destructive variants, three sizes, a loading spinner state, and an icon-only mode.
astro