Bootstrap 5 range sliders let users select a value within a range. This page covers 4 range patterns — basic, live value display, price filter and custom colors — each ready to use in forms and filter panels.
Quick Setup
Range sliders need only Bootstrap 5 CSS:
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"/>
Key Classes Reference
| Class / Attribute | What It Does |
|---|---|
.form-range | Required class for styled range input |
type="range" | Creates the range slider |
min="0" | Minimum value |
max="100" | Maximum value |
step="5" | Increment size |
value="50" | Initial position |
disabled | Disables the slider |
oninput | Fires as user drags |
onchange | Fires when user releases |
1. Basic Bootstrap 5 Range Slider
Standard range sliders in default, small and large sizes using form-range class.
2. Bootstrap 5 Range with Live Value Display
Range slider that shows the current value as you drag. Updates in real time using JavaScript.
3. Bootstrap 5 Price Range Filter
A price range filter with min/max inputs synced to a range slider. Common in e-commerce filter sidebars.
4. Bootstrap 5 Custom Styled Range Sliders
Range sliders with custom brand colors using CSS custom properties.
Frequently Asked Questions
Need a Full Bootstrap 5 Admin Dashboard?
Get a complete Angular 21 + Bootstrap 5 dashboard with 50+ components — built by the same team behind BootstrapPlanet.
Browse Templates →Use code FIRST30 for 30% off your first purchase.