Slider
UI SDK Slider: one value or a range, with a formatted value part, named by Field.
Example
slider-demo.tsxCopy code
Installation
Copy code
Brings alongfield
Usage
ImportCopy code
API reference
Slider
Takes every prop of UI SDK Slider.
SliderValue
SliderControl
SliderTrack
SliderIndicator
SliderThumb
Other exports
createSliderControllertype SliderControllertype SliderStatetype SliderValueChangeDetailsAccessibility
- Arrow keys, Page Up/Down and Home/End; each thumb in a range needs its own label.
- SliderValue is formatted.
Agent actions
Agents set numbers, or text that starts with one, like "30".
Runs agent.snapshot() from @ui-sdk/react/agent on the live preview above.