UI
← Home

Stepper

A numeric spinbutton: a value with decrement and increment buttons plus keyboard control. The value element is a `spinbutton` exposing `aria-valuenow/min/max` ; Arrow keys step it, Home/End jump to the bounds, and every change is clamped to the range. Distinct from a slider — a discrete numeric entry rather than a draggable track.

  • Axe
  • Focus

Preview

3

Installation

npx shadcn@latest add https://ui.publictheta.com/r/stepper.json

Conformance

Verified against the @publictheta/ui-spec stepper 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.