UI
← Home

Range Slider

A two-thumb slider for selecting a span. Each thumb is its own slider with ` aria-valuenow/min/max`, and the two are constrained so they can't cross — the low thumb's max tracks the high value and vice versa. Focus a thumb and use the Arrow keys (Home/End jump to its end of the allowed range).

  • Axe
  • Focus

Preview

20
80

Installation

npx shadcn@latest add https://ui.publictheta.com/r/range-slider.json

Conformance

Verified against the @publictheta/ui-spec range-slider specification on both the React and vanilla reference implementations, across Chromium, Firefox, and WebKit.

  • Axe No WCAG 2 A/AA axe-core violations
  • Focus A visible focus indicator appears on keyboard focus (WCAG 2.4.7)

See the full conformance matrix across all components.