Widgets
Slider
Continuous value slider.
Slider accepts:
*StateValue[float64]for reactive binding.float64for a static slider.int, converted tofloat64.
Any other argument panics.
The default range is 0..1. Override with .Range(min, max).
OnSliderChange fires continuously as the user drags. Use it for live
preview; debounce in your handler if the downstream work is expensive.