RelativeTimestamp
stableLocalized relative timestamp that updates in real time. Shows '2 min ago', 'just now', etc. with a tooltip showing the absolute ISO time.
import { RelativeTimestamp } from "@nodus/design-system/patterns"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
isoreq | string | — | ISO 8601 timestamp string. |
updateIntervalMs | number | — | Refresh interval in ms (default: 30000). |
className | string | — | Extra CSS classes. |
isorequiredType
stringDefault —ISO 8601 timestamp string.
updateIntervalMsType
numberDefault —Refresh interval in ms (default: 30000).
classNameType
stringDefault —Extra CSS classes.
Design Rationale
This component was designed to express:
Explore Related
DeadlineCountdown→
Real-time deadline countdown. Transitions color from validation → caution → agency as deadline approaches. Supports critical threshold configuration.
TemporalScale→
Time-based scale showing recency and freshness
AgentTimeline→
Chronological log of agent actions with status filtering
Timestamp→
Relative or exact time display with auto-refresh
Was this helpful?