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§
- Slider
Props - Props for the
Slidercomponent.
Functions§
- Slider
- Required Props
- slider_
percent - Project
valueinto[0, 100]against[min, max]. Clamps so out-of-range values pin to the endpoints; ifmin == maxthe value projects to0%to avoid divide-by-zero.