Velocity X Components

Standard Data

Data Freshness Indicator

Shows when a dataset was last updated in plain words, flags it as stale past a threshold you set, and exposes a Refresh action — so a dashboard never leaves a viewer guessing whether the numbers on screen are current.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add standard-data-freshness-indicator

Built for astro.

Full docs for Data Freshness Indicator →

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

astro v1.0.1
Data Freshness Indicator
Dashboard metrics last updated Refresh Dashboard metrics is up to date — last updated just now.

Props

NameTypeRequiredDefaultDescription
updatedAtstring | number | DateYes
staleAfterMinutesnumberNo15
labelstringNo"Data"
refreshHrefstringNo
classNamestringNo""

File this creates

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

text
components/velocity/standard-data-freshness-indicator/DataFreshnessIndicator.astro

Using the Data Freshness Indicator component

Install it with velocityx add standard-data-freshness-indicator. 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 Standard Data.