import { DataFreshness } from "@nodus/design-system"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
retrievedAtreq | Date | string | — | When data was last retrieved |
modelTrainedAt | Date | string | — | When the model was trained (shown separately) |
decayRate | "slow" | "medium" | "fast" | "medium" | How quickly data transitions through freshness levels |
showVisualDecay | boolean | true | Fade opacity as data ages |
showRelativeTime | boolean | true | Show relative time string |
label | string | — | Custom label override |
retrievedAtrequiredType
Date | stringDefault —When data was last retrieved
modelTrainedAtType
Date | stringDefault —When the model was trained (shown separately)
decayRateType
"slow" | "medium" | "fast"Default "medium"How quickly data transitions through freshness levels
showVisualDecayType
booleanDefault trueFade opacity as data ages
showRelativeTimeType
booleanDefault trueShow relative time string
labelType
stringDefault —Custom label override
MobileWorks As-Is
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?