Components
Components
Slider
Single-value range control with tabular output and accessible thumb.
newfree
pnpm add @komponents/uiCanonical TypeScript source · tree-shakeable subpathsBuilt on React Aria Slider. Output uses tabular numerals; the thumb keeps a 40×40 hit target.
Usage
Props
showOutput— defaults totrue- Standard React Aria value props (
defaultValue,minValue,maxValue,step)
States
- Description helper text
- Disabled
- Dragging press scale on the thumb
Accessibility
- Role
sliderwith keyboard arrow support - Label and output are associated automatically
- Focus ring on the thumb