Skip to main content

Gauge

270° radial gauge for one bounded value (utilisation, load, score).

Signature
Density
Viewport
Theme and light/dark are set in the top bar
Live demo
Open ↗

When to use​

270° radial gauge for one bounded value (utilisation, load, score).

Accessibility​

Each chart ships an accessible fallback (a visually-hidden data table / aria-label summary) so the data is available to screen readers, not just sighted users. Colour is paired with shape/label, never used alone.

Install and import​

npx shadcn@latest add @prism/gauge
import { Gauge } from '@/components/prism/Gauge';

In a no-build prototype, read it from the bundle instead: const { Gauge } = window.PrismDesignSystem_39d121;

Props​

PropTypeRequiredDescription
valuenumberYes
minnumber—
maxnumber—
labelReact.ReactNode—
unitstring—
sizenumber—
thicknessnumber—
segmentsGaugeSegment[]—
colorstring—
formatValue(v: number) => React.ReactNode—