ConfidenceSpectrum
stableMulti-dimensional certainty visualization. Shows uncertainty fingerprint across epistemic, aleatory, temporal, and consensus dimensions. Distinct from ConfidenceMeter (single-axis).
import { ConfidenceSpectrum } from "@nodus/design-system/patterns"Props
| Prop | Type | Default | Description |
|---|---|---|---|
dimensionsreq | ConfidenceDimension[] | — | Confidence dimensions to visualize. Each has key, label, value (0–1), and optional rationale. |
overall | number | — | Overall confidence score. Defaults to min of all dimensions (conservative). |
variant | "bars" | "spectrum" | "signature" | "bars" | bars: parallel bar chart; spectrum: gradient with markers; signature: compact fingerprint. |
showHedge | boolean | true | Show hedge warning when any dimension is below hedgeThreshold. |
hedgeThreshold | number | 0.4 | Threshold below which the hedge warning appears. |
evidenceTimestamp | string | — | ISO timestamp of evidence — shows staleness note. |
dimensionsrequiredConfidenceDimension[]Default —Confidence dimensions to visualize. Each has key, label, value (0–1), and optional rationale.
overallnumberDefault —Overall confidence score. Defaults to min of all dimensions (conservative).
variant"bars" | "spectrum" | "signature"Default "bars"bars: parallel bar chart; spectrum: gradient with markers; signature: compact fingerprint.
showHedgebooleanDefault trueShow hedge warning when any dimension is below hedgeThreshold.
hedgeThresholdnumberDefault 0.4Threshold below which the hedge warning appears.
evidenceTimestampstringDefault —ISO timestamp of evidence — shows staleness note.
This component was designed to express:
Explore Related
Labeled confidence gauge with low/moderate/high qualifier
Traceable action attribution receipt. Shows decision authority, executing agent, human approver, confidence at decision time, and evidence used. Mandatory for consequential agentic actions.
Linked chain of data sources showing transformation provenance
Data source citation with type icon, inline freshness timestamp, and stale indicator (DAN-17)