What is a slider?
A slider is a control where you drag a thumb along a track to choose a value between a minimum and a maximum. The position of the thumb is the value: far left is the minimum, far right the maximum (mirrored in right-to-left languages).
Sliders come in two pairs of flavors:
- Continuous vs discrete. A continuous slider allows any value in between (volume, brightness). A discrete slider snaps to steps: 1 km, €10, 0.5 stars. Discrete sliders often show tick marks (MaterialMaterial DesignGoogle's design system for Android and the web: the rules for how buttons, tabs, sheets and other components look and behave.Open in glossary → calls them stops) for each step.
- Single vs range. A single slider has one thumb and picks one value. A range slider has two thumbs and picks a low and a high value, like €40 – €180 in a price filter.
You’ll usually see sliders used for:
- Settings you judge by feel: volume, brightness, text size, photo filters.
- Filters with a range: price, distance, flight departure time.
- Media playback: the seek bar in video and audio players.
- Small scales: spice level, tip percentage, rating “4★ and up”.
Anatomy
Price per night
€140€0€200416325- 1
Track (inactive)
The full line from minimum to maximum. Its length is the whole range of possible values.
- 2
Active track
The filled part. In a single slider it runs from the minimum to the thumb; in a range slider, between the two thumbs.
- 3
Thumb (handle)
What you drag. Its visible size can be small, but its touch area should be at least 44 pt / 48 dp.
- 4
Value label
Shows the current value while dragging, or permanently next to the slider. Needs units and sensible rounding.
- 5
Tick marks (stops)
Only on discrete sliders. Each tick is one allowed value (one step).
- 6
Min / max labels
Tell users the limits. Both ends must actually be reachable.
How it differs from similar components
A slider is fast and visual, but imprecise. Knowing the alternatives helps you spot when the wrong one was used.
| Component | Precision | Best for |
|---|---|---|
| Slider | Rough, by feel | Relative values and ranges: volume, price filter |
| Stepper (− / +) | Exact, small changes | Quantities: 1–10 tickets, guests, servings |
| Text field (number) | Exact, any value | Age, amount to transfer, exact price |
| Segmented control | One of 2–5 options | Named levels: Mild · Medium · Hot |
| Toggle switch | On / off | One setting that takes effect immediately |
Dev note
Apple and Google both call it a slider. Android’s older view is called SeekBar, which is also what many people call the timeline in a video player. Material has a separate RangeSlider, and on the web you’ll see <input type="range"> or a custom “range slider”. In bug reports, use the name your team uses.
Designs & variants
Each platform draws sliders differently: a round white thumb on iOS, a thick track with a slim vertical handle in Material 3, whatever the design system decided on the web.
Every slider here works. Drag the thumbs, then click one and try the keyboard: arrows, Page Up / Page Down, Home and End.
Volume 60%
Continuous slider
iOSNo steps: any value between min and max. Fine for volume or brightness, where the exact number doesn't matter and you judge by feel.
Search radius: 5 km
Discrete slider with stops
Android · Material 3Snaps to steps (here 1 km), and the dots show every allowed value. The value indicator appears while you drag.
Range slider (two thumbs)
Android · Material 3Picks a low and a high value, like a price filter. The thumbs must never pass each other, and each needs its own accessible name.
Native range input
WebA real <input type="range">. Keyboard, screen readers and touch work out of the box; styling the thumb differs per browser.
Price
Range slider + text fields
WebThe fix for 'I need exactly €95': drag for a rough range, type for an exact one. Both stay in sync, and typed values are clamped and ordered.
Seek bar
Video · audio playersA slider whose value is a time. The lighter part shows what's already buffered. Screen readers should hear '1 minute 24 seconds of 3 minutes 45 seconds', not '84'.
Check this part
A price filter has two thumbs and picks "€40 – €180". What kind of slider is this?
What is a discrete slider?
Before testing a price filter slider, what should you ask early?