NERV-UI DOCS
inspection terminal
live
doc.access // online
NERV COMPONENT INSPECTION
route integrity monitored

Gauge

Semicircular gauge meter with animated needle, arc fill, and tick marks. SVG-based with Framer Motion draw-in animation. Supports threshold warning and five color themes.

[SRC]tsx
1import { Gauge } from "@mdrbx/nerv-ui";

Default

DEFAULTinspection frame
live inspectionframe-01
SYNC RATE
SYNC RATE: 73%010073%

Colors

ALL COLORSinspection frame
live inspectionframe-01
NOMINAL
NOMINAL: 85%010085%
POWER
POWER: 62%010062%
THERMAL
THERMAL: 91%010091%
SHIELD
SHIELD: 45%010045%
NEURAL
NEURAL: 78%010078%

With Threshold

When the value exceeds the threshold, the gauge automatically turns red.

THRESHOLDinspection frame
live inspectionframe-01
CORE TEMP
CORE TEMP: 88°C012088°C

Ring Variant

The ring variant replaces the needle with a thick gradient arc. Use gradientFrom and gradientTo to customise the sweep colors.

RINGinspection frame
live inspectionframe-01
A.T. FIELD
A.T. FIELD: 68%010068%
POWER
POWER: 85%010085%

Sizes

SIZESinspection frame
live inspectionframe-01
SM
SM: 50%010050%
MD
MD: 72%010072%
LG
LG: 91%010091%

Props

PropTypeDefaultDescription
value*numberCurrent gauge value
minnumber0Minimum value
maxnumber100Maximum value
labelstringLabel above gauge
unitstring"%"Value suffix
color"cyan" | "green" | "orange" | "red" | "magenta""cyan"Color theme
sizenumber160Gauge size in pixels
showTicksbooleantrueShow tick marks
thresholdnumberValue above which gauge turns red
variant"needle" | "ring""needle"Display variant — classic needle or thick gradient arc ring
gradientFromstring"#FF00FF"Gradient start color (ring variant)
gradientTostring"#FF9900"Gradient end color (ring variant)
classNamestring""Additional CSS classes
[i]HOVER LABELS

When label is provided, hovering or focusing the gauge surface lifts the component and opens the NERV tooltip overlay with the label and current value. The same label is exposed through the accessible name for keyboard and assistive technology users.

[i]240° ARC

The gauge uses a 240° arc sweep (from 7 o'clock to 5 o'clock) with 13 tick marks. The needle and value arc animate on mount with staggered Framer Motion transitions.