Velocity X Components

Content & Dashboard

Dashboard Stat Tile

Single KPI tile with label, large value, optional icon slot and a directional delta badge.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add dashboard-stat-tile

Built for astro.

Full docs for Dashboard Stat Tile →

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

astro v1.0.0
Dashboard Stat Tile
Monthly active sites

1,284

↑ +4.2%

Props

NameTypeRequiredDefaultDescription
labelstringNo'Monthly active sites'
valuestring | numberNo'1,284'
deltaLabelstringNo'+4.2%'
deltaDirection'up' | 'down' | 'flat'No'up'
headingLevel1 | 2 | 3 | 4 | 5 | 6Yes
classNamestringNo''

File this creates

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

text
components/velocity/dashboard-stat-tile/DashboardStatTile.astro

Using the Dashboard Stat Tile component

Install it with velocityx add dashboard-stat-tile. 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.