Skip to content

API Reference

Catalog metadata for this block. Install copies the source into your project.

npx cronus-ui add empty-state
Skip Empty State fields table
FieldTypeDefaultDescription
slug*
string"empty-state"Registry item id. Passed to cronus-ui add.
name*
string"Empty State"Display name shown in the gallery.
description*
string"Empty and error states with illustrations, guidance, and recovery actions."Short summary of what the block covers.
variants
{ id: string; name: string; description: string }[]["empty", "error"]Alternate layouts. Install a look with npx cronus-ui add <slug>--<id>. Omitted when the block has a single default.

Variants

Every published look for this block.

Skip Empty State variants table
IdNameDescription
emptyEmpty listA friendly empty list with an illustration, guidance, and creation CTAs.
errorError / not foundAn error state for failed loads or 404s, with retry and recovery actions.