Basic Range
Create custom
<input type="range"> controls with
.form-range. The track (the background) and
thumb (the value) are both styled to appear the same across
browsers. As only Firefox supports “filling” their track
from the left or right of the thumb as a means to visually
indicate progress, we do not currently support it.
<input type="range" class="form-range">
Disabled Range
Add the disabled boolean attribute on an input
to give it a grayed out appearance, remove pointer events,
and prevent focusing.
<input type="range" class="form-range" disabled>
Min and Max
Range inputs have implicit values for min and
max—0 and 100, respectively. You
may specify new values for those using the
min and max attributes.
<input type="range" class="form-range" min="0" max="5">
Steps
By default, range inputs “snap” to integer values. To change
this, you can specify a step value. In the
example below, we double the number of steps by using
step="0.5".
<input type="range" class="form-range" min="0" max="5" step="0.5">
Range Colors
<div class="row g-4">
<div class="col-12 col-xl-6">
<input type="range" class="form-range form-range-primary" min="0" max="5" step="0.2">
</div><!--End col-->
<div class="col-12 col-xl-6">
<input type="range" class="form-range form-range-secondary" min="0" max="5" step="0.1">
</div><!--End col-->
<div class="col-12 col-xl-6">
<input type="range" class="form-range form-range-success" min="0" max="5" step="0.3">
</div><!--End col-->
<div class="col-12 col-xl-6">
<input type="range" class="form-range form-range-warning" min="0" max="5" step="0.9">
</div><!--End col-->
<div class="col-12 col-xl-6">
<input type="range" class="form-range form-range-info" min="0" max="5" step="3">
</div><!--End col-->
<div class="col-12 col-xl-6">
<input type="range" class="form-range form-range-danger" min="0" max="5" step="2">
</div><!--End col-->
<div class="col-12 col-xl-6">
<input type="range" class="form-range form-range-dark" min="0" max="5" step="4">
</div><!--End col-->
<div class="col-12 col-xl-6">
<input type="range" class="form-range form-range-light" min="0" max="5" step="2">
</div><!--End col-->
</div><!--End row-->
Nouislider Plugins:
Default Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Disabled Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Vertical Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Two Handle Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Margin Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Min Val:
Max Val:
Step Slider
Use the fields below to enter a date. Please follow the specified format for each field:
RTL Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Max Val:
Tooltips Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Multiple Tyle Range Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Max Val: 20.00
Slider Fit Style
Use the fields below to enter a date. Please follow the specified format for each field:
Rounded Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Square Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Slider Sizes
Use the fields below to enter a date. Please follow the specified format for each field:
Soft Limit Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Secondary Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Success Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Success Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Warning Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Danger Slider
Use the fields below to enter a date. Please follow the specified format for each field:
Dark Slider
Use the fields below to enter a date. Please follow the specified format for each field: