CitationCard
stableData source citation with type icon, inline freshness timestamp, and stale indicator (DAN-17)
import { CitationCard } from "@nodus/design-system/patterns"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
sourcereq | string | — | Source name (document / table / endpoint / agent) |
sourceType | 'document'|'database'|'api'|'agent' | — | Determines icon; defaults to document |
lastUpdatedAt | string | — | ISO timestamp — displayed inline, never in a tooltip |
stale | boolean | — | Override stale detection; shows validation gold border |
staleThresholdHours | number | — | Hours above which data is auto-detected as stale (default: 24) |
chunk | string | — | Source excerpt shown on expand |
confidence | number | — | Confidence score 0–1 |
href | string | — | Direct link to source |
sourcerequiredType
stringDefault —Source name (document / table / endpoint / agent)
sourceTypeType
'document'|'database'|'api'|'agent'Default —Determines icon; defaults to document
lastUpdatedAtType
stringDefault —ISO timestamp — displayed inline, never in a tooltip
staleType
booleanDefault —Override stale detection; shows validation gold border
staleThresholdHoursType
numberDefault —Hours above which data is auto-detected as stale (default: 24)
chunkType
stringDefault —Source excerpt shown on expand
confidenceType
numberDefault —Confidence score 0–1
hrefType
stringDefault —Direct link to source
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?