A Simple Library To Create Customizable Range Slider | Slider89.js

Slider89.js is a simple framework for creating highly customizable sliders in a webpage and creating a simple-looking and highly customizable range slider from plain HTML coding.

multi range slider javascript, range slider javascript example, custom range slider javascript, js range slider example

How to make use of it:

1. Load the Slider89.js and Slider89.css files within the HTML doc.

<link rel="stylesheet" href="slider89.css" />
<script src="slider89.js"></script>

2. Create a container component by which the customized vary slider must be positioned.

<div id="demo"></div>

3. Initialize the library to generate a primary range slider.

const demo = document.querySelector('#demo');
const mySlider = new Slider89(demo, {
      // options here

4. Override the default min/max/present values.

const mySlider = new Slider89(demo, {
      min: 0,
      max: 100,
      value: 0

5. Add a caption to the range slider.

const mySlider = new Slider89(demo, {
      caption: ' '

6. Determine the width of the range slider.

const mySlider = new Slider89(demo, {
      // absolute width
      absWidth: false, 

      // or '300px', etc
      width: 'auto'


7. Determine the variety of digits after the decimal place.

const mySlider = new Slider89(demo, {
      // default 0
      comma: 3,

      // 3,000 => 3
      trimComma: true


8. Hide the present value tip after a particular timeout.

const mySlider = new Slider89(demo, {
      tipDuration: 250

9. Add CSS lessons to the range slider’s wrapper factor.

const mySlider = new Slider89(demo, {
      classList: ['class-1', 'class-2', ...]

10. Determine whether or not to exchange the parent container factor.

const mySlider = new Slider89(demo, {
      replaceNode: false

11. Update the settings.

const mySlider = new Slider89(demo, {

12. Override the default types of the range slider.

.slider89 {
  display: inline-block;
.slider89 .slider {
  position: relative;
  font-family: monospace;
  font-size: 18px;
  font-weight: bold;
  padding: 0;
.slider89_wrapper {
  background-color: hsl(0, 0%, 19%);
  height: 25px;
.slider89 .slider_knob {
  position: absolute;
  cursor: pointer;
  left: 0;
  z-index: 1;
.slider89_knob {
  height: 25px;
  width: 14px;
  background-color: hsl(0, 0%, 27%);
.slider89 .slider_tooltip {
  position: absolute;
  display: flex;
  align-items: center;
  height: 100%;
  cursor: default;
  opacity: 1;
  transition: .2s ease-out;
.slider89_tooltip {
  color: hsl(0, 0%, 45%);
  padding: 1px 3px 0;
.slider89 .slider_tooltip.left {
  left: 0;
.slider89 .slider_tooltip.right {
  right: 0;
.slider89 .slider_tooltip.hidden {
  opacity: 0;
.slider89_header {
  color: hsl(0, 0%, 70%);
  font-family: 'Calibri', serif;
  font-size: 20px;
.noselect {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

Highly Customizable Range Slider, Slider89 Plugin/Github

See Demo And Download

Official Website(Hallo89): Click Here

This superior jQuery/javascript plugin is developed by Hallo89. For extra Advanced usage, please go to the official website.

Related Posts


Responsive Drag and Drop File Uploader/Download Plugin | 5x5_jq_uploader

5x5_jq_uploader plugin can be used to instantly create a drop file area and file queue with a little bit of preparation. Bootstrap is used for responsive planning…


Stylesheet For Implementing Dark Mode with Bootstrap

Bootstrap Dark Mode provides a style sheet and two texts that allow you to implement Dark Mode on your website. Initially loaded based on user preferences, can…


Multi-purpose Navigation Menu for Javascript Library | jQuery Corenav

coreNavigation is a multipurpose navigation menu for a jquery based javascript library, comes with more style, and is easy to integrate. 11 Default Menu 2 Responsive Navigation…


Simple Multi-Select Dropdown Pure Vanilla Javascript | multiSelect.js

MultiSelect.js is a simple, clean, and progressive JavaScript library designed for easy integration with any type of project or system. The design was heavily influenced by the…


Confetti Falling Animation Effect In JavaScript | party.js

Party.js is a JavaScript library to brighten user site experience with visual effects! Celebrate success with dom confetti! The library is written in TypeScript and compiled into…


How To Create A Popup in HTML with CSS

How to create popup in html with css – Popup without JavaScript is an elegant pop-up panel component with an animated scale, written in CSS. Have you…