Velocity X Components

Content & Dashboard

KPI Row

Horizontal row of KPI figures sharing one divided card for a dashboard header strip.

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

Built for astro.

Full docs for KPI Row →

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

astro v1.0.0
KPI Row
Revenue
$48.2k ↑ +12%
Active users
2,940 ↑ +3.1%
Churn
1.8% ↓ -0.4%
Avg. session
6m 12s → 0%

Props

NameTypeRequiredDefaultDescription
kpisKpi[]No[ { label: 'Revenue', value: '$48.2k', deltaLabel: '+12%', deltaDirection: 'up' }, { label: 'Active users', value: '2,940', deltaLabel: '+3.1%', deltaDirection: 'up' }, { label: 'Churn', value: '1.8%', deltaLabel: '-0.4%', deltaDirection: 'down' }, { label: 'Avg. session', value: '6m 12s', deltaLabel: '0%', deltaDirection: 'flat' }, ]
classNamestringNo''

File this creates

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

text
components/velocity/kpi-row/KpiRow.astro

Using the KPI Row component

Install it with velocityx add kpi-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 Content & Dashboard.