ScenarioComparison
stableSide-by-side comparison of forecast scenarios with baseline highlighting
import { ScenarioComparison } from "@nodus/design-system/finance"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
scenariosreq | Scenario[] | — | Array of scenario objects |
baselineIndex | number | — | Index of baseline scenario |
locale | string | — | BCP 47 locale override |
label | string | — | Section label |
scenariosrequiredType
Scenario[]Default —Array of scenario objects
baselineIndexType
numberDefault —Index of baseline scenario
localeType
stringDefault —BCP 47 locale override
labelType
stringDefault —Section label
MobileStacks / Scroll
Comparison table activates horizontal scroll on narrow viewports.
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?