Skip to content
Menu

Inputs

Single value slider

Single value slider: A horizontal slider with one draggable thumb that fills the track behind it so the current value reads at a glance.

Using Single value slider

Single value slider uses the inline preview frame with a light/dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
valuenumber40From 0 to 100; step 1
accentcolor#FF6A1FNo additional limit in the metadata.
Which frameworks are available for Single value slider?

Single value slider is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Single value slider depend on?

The React metadata lists no additional npm dependencies beyond React.

What accessibility details are visible in Single value slider?

The React source for Single value slider includes: attributes and handlers (aria-orientation, aria-valuemax, aria-valuemin, aria-valuenow, onKeyDown, tabIndex); explicit roles (slider); key comparisons (End, Home). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Single value slider handle reduced motion?

The source scan found no direct useReducedMotion() or matchMedia preference read in Single value slider's index.tsx. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components