Content & Dashboard
KPI Row
Horizontal row of KPI figures sharing one divided card for a dashboard header strip.
$ velocityx add kpi-row Built for astro.
Needs a licence key —
subscribe here, then
velocityx loginonce.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| kpis | Kpi[] | 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' }, ] | |
| className | string | No | '' |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
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.
Related components
More from Content & Dashboard.
Vertical timestamped activity feed with a connecting dot-and-line rail between entries.
astroTwo-column article layout with a reader-width prose column and a sticky sidebar slot that collapses above content on mobile.
astroArticle title, byline, avatar, publish/updated date and read time above a divider.
astroAvatar, name, role, short bio and optional social links for an article sidebar or footer.
astro