SliderController

Primitive #59

🔍 Problem it solves

Sliders need to track value from min to max, handle thumb drag, keyboard arrows, and step increments. Manual mouse/touch handling is complex.

✅ Solution

SliderController manages value, calculates percentage, provides setFromMousePosition, handleKeyDown, and subscriptions. This demo uses the library’s controller to drive a custom slider UI.

🧩 Used by components

Slider, RangeInput, VolumeControl, BrightnessSlider, TimeSelector

🎮 Interactive demo