Skip to content

API Reference

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

npx cronus-ui add stats
Skip Stats Cards fields table
FieldTypeDefaultDescription
slug*
string"stats"Registry item id. Passed to cronus-ui add.
name*
string"Stats Cards"Display name shown in the gallery.
description*
string"A dashboard row of KPI metric cards with trends."Short summary of what the block covers.
variants
{ id: string; name: string; description: string }[]["kpi-grid", "empty", "compact-summary", "pipeline-funnel"]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 Stats Cards variants table
IdNameDescription
kpi-gridKPI gridFour-card dashboard metrics with icons, deltas, and contextual hints.
emptyEmptyThe same KPI grid with em dashes and no-data hints.
compact-summaryCompact summaryA single-card metric summary for dense dashboards and overview panels.
pipeline-funnelPipeline funnelA segmented stats card for activation, pipeline, or conversion steps.