Velocity X Components

Stats & Numbers

Scorecard Grid with Targets

Grid of metric cards that scores each one against its own target, with a written verdict — on track, at risk, or missed — instead of colour-only pass/fail. Handles metrics where lower is the win, like churn or response time, with a single flag per card.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add scorecard-grid-targets

Built for astro.

Full docs for Scorecard Grid with Targets →

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

astro v1.0.1
Scorecard Grid with Targets

MRR

At risk

$48,200

Target $50,000

Churn

On track

2%

Target 3%

NPS

Missed target

61

Target 70

Response time

Missed target

h14

Target h10

Props

NameTypeRequiredDefaultDescription
metricsScorecardMetric[]Yes
columns2 | 3 | 4No3
classNamestringNo''

File this creates

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

text
components/velocity/scorecard-grid-targets/ScorecardGridTargets.astro

Using the Scorecard Grid with Targets component

Install it with velocityx add scorecard-grid-targets. 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.