Velocity X Components

Stats & Numbers

KPI Tile Row

A shared-card row of metric tiles for a dashboard header or report summary — label, value and an optional directional delta badge per tile. Reflows to a two-column grid on mobile so nothing truncates at narrow widths.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add kpi-tile-row

Built for astro.

Full docs for KPI Tile Row →

Needs a licence key — subscribe here, then velocityx loginonce.

astro v1.0.1
KPI Tile Row
Revenue
$48.2k 12.4% was unchanged
Signups
2,940 8.1% was unchanged
Churn
1.2% -0.3% was unchanged

Props

NameTypeRequiredDefaultDescription
itemsKpiTileItem[]No[ { label: 'Revenue', value: '$48.2k', delta: '12.4%', deltaDirection: 'up' }, { label: 'Active users', value: '2,940', delta: '3.1%', deltaDirection: 'up' }, { label: 'Churn', value: '1.8%', delta: '0.4%', deltaDirection: 'down' }, { label: 'Avg. session', value: '6m 12s', delta: '0%', deltaDirection: 'flat' }, ]
mobileColumns2 | 3No2Tiles per row on mobile before it scrolls to a second row.
classNamestringNo''

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/kpi-tile-row/KpiTileRow.astro

Using the KPI Tile Row component

Install it with velocityx add kpi-tile-row. 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.

More from Stats & Numbers.