Velocity X Components

Content & Dashboard

Progress Goal Card

Single-goal card with a computed percentage progress bar, current/target values and an optional due date.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add progress-goal-card

Built for astro.

Full docs for Progress Goal Card →

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

astro v1.0.0
Progress Goal Card

Q4 new brand ports

70%
7 of 10 Due 30 Oct 2026

Props

NameTypeRequiredDefaultDescription
titlestringNo'Q4 new brand ports'
currentnumberNo7
targetnumberNo10
unitstringNo''
dueDatestring | DateNo
localestringNo'en-AU'
dateFormatter(date: Date) => stringNo
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/progress-goal-card/ProgressGoalCard.astro

Using the Progress Goal Card component

Install it with velocityx add progress-goal-card. 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.