Line chart
A multi-series line chart with a gliding crosshair, legend toggles, and paths that morph between ranges.
Show a value against a known range.
npx shadcn@latest add @silicon-ui/gaugenpx shadcn@latest add @silicon-ui/gaugeInstall the dependencies.
npm install motionCopy these files into your project. Shared files are skipped if you already have them.
components/silicon-ui/gauge/gauge.tsxcomponents/silicon-ui/gauge/gauge.module.cssInstall the foundation once per app for the design and motion tokens: npx shadcn@latest add @silicon-ui/silicon-foundation
| Prop | Type | Default |
|---|---|---|
value* | number | — |
label* | string | — |
min | number | 0 |
max | number | 100 |
detail | string | — |
tone | GaugeTone
| "accent" |
thresholds | GaugeThreshold[] | — |