Range Slider (Dual Thumb)
A track with two thumbs that set a minimum and maximum, like a price range.
Also known as: Dual Thumb
two <input type="range">When to use it
For price and size filters.
Common mistake
Add number fields for exact values.
Accessibility
Each thumb needs its own label (Minimum price, Maximum price).
Name in code
| HTML/CSS | two <input type="range"> |
|---|---|
| React | <Slider value={[a,b]}> |
| Jetpack Compose | RangeSlider |
| SwiftUI | Custom (two Sliders) |
Ready prompt for your coding agent
Add a Range Slider (Dual Thumb) to this screen.
What it is: A track with two thumbs that set a minimum and maximum, like a price range.
Implement with: two <input type="range"> (HTML/CSS).
Accessibility: Each thumb needs its own label (Minimum price, Maximum price).
When to use it: For price and size filters.
Avoid: Add number fields for exact values.
Reuse the project's existing design tokens, spacing and component conventions.
Or compose a whole page from this element and others →
Prompts are in English for the most precise results with coding agents.