HTML Range Slider is a lightweight library to create side sliders to adjust values easily and precisely by making use of the Pointer Lock API.
Side Slider is a JavaScript library that allows you to adjust input values by dragging the sides of the input box. The input value will decrease and increase based on the movement of the mouse over time.
Must Read: Mouse Pointer Click Effect Javascript Plugin | Mouse.Js
Sliders Input Values Using Mouse Drag
Post Name | Input Range Slider |
Author Name | qurafi |
Category | Draggable, Form Plugins |
Official Page | Click Here |
Official Website | github.com |
Publish Date | September 11, 2020 |
Last Update | August 13, 2023 |
Download | Link Below |
License | MIT |
How to make use of it:
1. Load the JavaScript sideslider.js
within the HTML.
<script src="/dist/sideslider.js"></script>
2. Create a number of inputs on the web page.
<input type="number" id="example" />
3. Initialize the side slider on the number input.
new SideSlider(document.getElementById('example'), { // options here });
4. Set the min/max values allowed within the number input.
new SideSlider(document.getElementById('example'), { min: 0, max: 100 });
5. Set the step size.
new SideSlider(document.getElementById('example'), { step: 5 });
6. Set the width of the draggable area.
new SideSlider(document.getElementById('example'), { width: 5 });
7. Trigger a function each time you modify the value.
new SideSlider(document.getElementById('example'), { onChange: function (e) { // e.value : Current value. // e.prev: Previous value. // e.delta: Difference between the current and previous value. // e.slider: All configurations are stored in this object. // e.target: The target HTMLElement. }, });
See Demo And Download

Official Website(mhmd-22): Click Here
This superior jQuery/javascript plugin is developed by mhmd-22. For extra Advanced Usage, please go to the official website.