YieldCurveViewer
stablePar, spot (zero), and forward yield curve viewer with inversion detection and tenor labels
import { YieldCurveViewer } from "@nodus/design-system/finance"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
datareq | YieldCurvePoint[] | — | Yield curve data points with tenor and yields |
mode | YieldCurveMode | — | Which curves to show: all | par | spot | forward |
curveLabel | string | — | Curve identifier (e.g. USD Treasury, EUR Swap) |
showInversionAlert | boolean | — | Show INVERTED CURVE alert when 2Y > 10Y |
datarequiredType
YieldCurvePoint[]Default —Yield curve data points with tenor and yields
modeType
YieldCurveModeDefault —Which curves to show: all | par | spot | forward
curveLabelType
stringDefault —Curve identifier (e.g. USD Treasury, EUR Swap)
showInversionAlertType
booleanDefault —Show INVERTED CURVE alert when 2Y > 10Y
MobileStacks / Scroll
Yield curve chart requires min 300px. Wrap in overflow-x-auto.
Design Rationale
This component was designed to express:
Explore Related
DurationConvexityPanel→
Fixed-income duration and convexity metrics panel with modified duration, effective duration, convexity, and DV01
TrackingErrorGauge→
Benchmark tracking error gauge with TE budget/limit bar, utilization percentage, and severity classification
LineChart→
Multi-series SVG line chart for time-series and trend data — cash forecasts, FX history, AI confidence trends
Was this helpful?