@mocanvas/mocanvas · function

TldrawUiSlider

declare function TldrawUiSlider({ value, steps, label, title, disabled, className, style, onValueChange, onHistoryMark, ...rest }: TLUiSliderProps): react.JSX.Element

A range input.

A native <input type="range"> rather than a div with pointer handlers: it is keyboard-operable, announced correctly, and honours the platform's own "page up jumps by ten" conventions for free.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.