Slider

Last updated: October 14, 2026

Range slider with Track, Indicator, and a spring-scaled Thumb on press — Base UI Slider.

Installation

npx smoothui-cli add slider

Features

Compound SliderRoot / Control / Track / Indicator / Thumb, plus a thin default convenience for a single numeric value (value / defaultValue, min, max, step, onValueChange, disabled). Thumb scales on press (whileTap) and keeps a focus ring.

States

Features

Controlled single-value slider with live readout.

Disabled

Non-interactive track and thumb.

Accessibility

Keyboard Interactions

KeyDescription
Arrow keysAdjust value by step
Home / EndJump to min / max
PageUp / PageDownLarger steps

Reduced Motion

Thumb press scale is disabled when reduced motion is preferred.

Props

Powered by

motion.dev
base-ui