Responsive range slider library written in typescript and using web component technologies. Pure JavaScript without additional dependencies. It has a rich set of settings, including any number of pointers (knobs), vertical and horizontal slider, touch, mousewheel and keyboard support, local and session storage, range dragging, and RTL support.
Responsive range slider library written in typescript and using web component technologies. Pure JavaScript without additional dependencies. It has a rich set of settings, including any number of pointers (knobs), vertical and horizontal slider, touch, mousewheel and keyboard support, local and session storage, range dragging, and RTL support. The functionality of the library can be extended using plugins.
The library supports any number of pointers (knobs/handles):
one-pointer range slider, two-pointers range slider, or as many as you need.
Responsive and mobile-ready range slider that looks good on any devices π±.
It supports touch, mousewheel events, and keyboard.
It accessible via ARIA-attributes π‘οΈ
Range slider library has a standalone Marks Plugin. This allows to generate points along the slider:
The library is built with Typescript and does not use external dependencies π. The core is 28KB minified or 9KB compressed (GZip).
The library has additional theme plugins with a ready-made set of styles such as gradients, glass, pointer shapes and more. Itβs also possible to develop your own theme as an external plugin.
The library has multiple options for customizing π§ the appearance of the slider.
Width, height, border radius, colors, hover and focus, and other properties can be customized using the slider attributes.
Images and SVGs can be used as pointers.
The library supports horizontal and vertical orientation π. It also supports left to right and right to left directions for a horizontal slider, and top to bottom and bottom to top for vertical sliders.
The slider range can be defined by a minimum and maximum numbers. Another option is to provide a list of individual (discrete) values. Both text βοΈ and numeric data are supported.
Local storage πΎ and session storage support as a standalone plugin. The user selection will be saved and restored after page refresh or navigation from other pages.
Range slider library has a standalone Moving Tooltip Plugin. The plugin adds a moving tooltip to each pointer. You can change the tooltip color, size, and distance to pointer.
The library also supports range dragging:
The library also has an Origin at Center Plugin. This plugin makes the origin of the pointer always in the center.
It can be used for free in any personal or commercial project π
Try my other project React Round Slider - an accessible and mobile-friendly React round slider library, powered by TypeScript and SVG.
Tool Cool Color Picker is a color picker library written in typescript and using web component technologies.