Content & Dashboard
Progress Goal Card
Single-goal card with a computed percentage progress bar, current/target values and an optional due date.
$ velocityx add progress-goal-card Built for astro.
Full docs for Progress Goal Card →
Needs a licence key —
subscribe here, then
velocityx loginonce.
Q4 new brand ports
70%Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| title | string | No | 'Q4 new brand ports' | |
| current | number | No | 7 | |
| target | number | No | 10 | |
| unit | string | No | '' | |
| dueDate | string | Date | No | ||
| locale | string | No | 'en-AU' | |
| dateFormatter | (date: Date) => string | No | ||
| headingLevel | 1 | 2 | 3 | 4 | 5 | 6 | Yes | ||
| className | string | No | '' |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
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.
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