Skip to main content

Module slider

Module slider 

Source
Expand description

Slider — value slider (M-UI.4 / AUT-124).

Visual only — renders a track, fill, thumb, and an optional label / readout. No drag handling. The parent component owns the value and re-renders with the new value when its input handler fires.

Structs§

SliderProps
Props for the Slider component.

Functions§

Slider
Required Props
slider_percent
Project value into [0, 100] against [min, max]. Clamps so out-of-range values pin to the endpoints; if min == max the value projects to 0% to avoid divide-by-zero.