Skip to content

DataFreshness

stable

Temporal age indicator showing data staleness

Data Display/Storybook ↗
import { DataFreshness } from "@danagraph/design-system"
Loading demo…

Props

retrievedAtrequired
Type Date | stringDefault —

When data was last retrieved

modelTrainedAt
Type Date | stringDefault —

When the model was trained (shown separately)

decayRate
Type "slow" | "medium" | "fast"Default "medium"

How quickly data transitions through freshness levels

showVisualDecay
Type booleanDefault true

Fade opacity as data ages

showRelativeTime
Type booleanDefault true

Show relative time string

label
Type stringDefault —

Custom label override

semantictype
MobileWorks As-Is
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?