Wrap a native <input type="range">. It stays in the page as the form value, the keyboard
control, and the no-JavaScript fallback. Label it as any range input.
The native range input keeps its slider role and keyboard behavior. The component forwards
value-text to aria-valuetext, orientation="vertical" to aria-orientation, and readonly
to aria-readonly, and its track and value display are decorative.
Key
Action
Arrow keys
Native: moves the value one step.
Home, End
Native: moves to the minimum or maximum.
Page Up, Page Down
Moves the value ten steps up or down.
A readonly slider ignores Page Up and Page Down and restores its value after any other key or
pointer change. See the
WAI-ARIA Slider pattern.
The default demo mode shows the component without a package theme. Use the shared preview controls on this page to compare inherited, light, and dark color schemes or to apply the optional Material theme only inside the demo frames.
Initial uncontrolled slider value. Has no effect after the first user interaction or `value` write.
disabled
disabled
boolean
false
Disable the underlying input.
readonly
readonly
boolean
false
Prevents edits while preserving normal display. Not a native range attribute.
display
display
DisplayValue
null
Controls the live value display.
- Absent (default) — no value shown.
- `display` or `display="float"` — floats above the thumb.
- `display="inline-start"` — rendered before the track, inline in the grid.
- `display="inline-end"` — rendered after the track, inline in the grid.
valueText
value-text
string
''
Screen-reader value text. When set, forwarded as `aria-valuetext` on the native input.
orientation
orientation
'horizontal' | 'vertical'
'horizontal'
Orientation; reflected as an attribute and forwarded to `aria-orientation`.