Components · Forms · Elastic Slider
Back to Elastic SliderElastic SliderNew
Use for one continuous value where feel matters - volume, brightness, zoom, playback speed.
Properties
Size, corner radius and the content options below are properties of the same component, not separate elements - change them to check this component's appearances and states in the Live Preview.
Live Preview
Every appearance side by side, each in every state. One full matrix is rendered per selected Size and Corner radius combination.
When to use
One continuous value where feel matters.
Component Guide
Overview
Elastic Slider is a single-value slider that stretches like rubber past either end, swells the thumb under the pointer, shows a value tag that follows it and treats marks as detents.
When to Use
- One continuous value where feel matters.
- Values people aim for - add marks at the useful stops.
When Not to Use
- Two thumbs or a range - use Slider.
- Dense forms - use Slider.
- Exact numbers - use Number Field.
Best Practices
- Use the change handler for live previews and the commit handler for saves.
- Add marks for values people aim for (0, 50, 100).
- Keep the format function consistent with the readout.
Accessibility
- The thumb is role=slider with min, max, now and value text.
- Arrow keys step; Shift+Arrow, PageUp and PageDown take the large step; Home and End jump.
- Readout, tag, icons and mark labels are decorative.
Related Components
Slider, Number Field, Progress.
{
"component": "Elastic Slider",
"category": "Forms",
"summary": "Elastic Slider is a single-value slider that stretches like rubber past either end, swells the thumb under the pointer, shows a value tag that follows it and treats marks as detents.",
"whenToUse": [
"One continuous value where feel matters.",
"Values people aim for - add marks at the useful stops."
],
"whenNotToUse": [
"Two thumbs or a range - use Slider.",
"Dense forms - use Slider.",
"Exact numbers - use Number Field."
],
"bestPractices": [
"Use the change handler for live previews and the commit handler for saves.",
"Add marks for values people aim for (0, 50, 100).",
"Keep the format function consistent with the readout."
],
"accessibility": [
"The thumb is role=slider with min, max, now and value text.",
"Arrow keys step; Shift+Arrow, PageUp and PageDown take the large step; Home and End jump.",
"Readout, tag, icons and mark labels are decorative."
],
"relatedComponents": [
"Slider",
"Number Field",
"Progress"
]
}