Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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.

License

NotificationsYou must be signed in to change notification settings

mzusin/toolcool-range-slider

Repository files navigation

GitHub package.json versionnpmNPM

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.

Links

Any Number of Pointers

The library supportsany number of pointers (knobs/handles):one-pointer range slider, two-pointers range slider, or as many as you need.

Range Slider

Mobile Ready

Responsive and mobile-ready range slider that looks good on any devices 📱.It supportstouch, mousewheel events, and keyboard.

Accessibility

It accessible viaARIA-attributes 🛡️

Range Slider

Marks Plugin

Range slider library has a standaloneMarks Plugin. This allows to generate points along the slider:

Range Slider

ES6 JavaScript & Typescript

The library is built with Typescript and does not use external dependencies 🔓. The core is 28KB minified or 9KB compressed (GZip).

Themes 🎨

The library has additionaltheme plugins with a ready-made set of styles such as gradients, glass, pointer shapes and more. It's also possible todevelop your own theme as an external plugin.

range-slider-3.mov

Styles & Design

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.

Direction & Orientation

The library supports horizontal andvertical orientation 🌐. It also supports left to right andright to left directions for a horizontal slider, and top to bottom andbottom to top for vertical sliders.

Range Slider

Range Slider

Numbers, Text, or Range

The slider range can be defined by a minimum and maximum numbers. Another option is to provide a list of individual (discrete) values. Bothtext ✍️ and numeric data are supported.

Range Slider

Local & Session Storage

Local storage 💾 and session storage support as astandalone plugin. The user selection will be saved and restored after page refresh or navigation from other pages.

Range Slider

Moving Tooltip Plugin

Range slider library has a standaloneMoving Tooltip Plugin. The plugin adds a moving tooltip to each pointer. You can change the tooltip color, size, and distance to pointer.

Range Slider

Range Dragging

The library also supportsrange dragging:

Range Slider

Origin at Center

The library also has anOrigin at Center Plugin. This plugin makes the origin of the pointer always in the center.

Range Slider

Other Features

  • Based on web component technologies.
  • Allows programmatic attribute changes 💻
  • Simple dynamic rendering after ajax requests or delays.
  • Disabled/enabled range slider (including API).
  • Possibility to disable only one pointer.
  • Non-linear range slider 📉
  • Optionalanimation on panel click.
  • Works well with Bootstrap and other CSS frameworks 👍
  • No CSS conflicts due to web components.
  • Automatically generated labels as astandalone plugin.
  • Any number of sliders on one page.
  • Supports two (and more)pointers overlap, pointersmax and min distance.
  • The functionality of the library can be extended usingplugins.
  • The range slide can be used inReact and other frameworks.
  • Extensive API based on TypeScript.Range Slider

Plugins

License

MIT license

It can be usedfor free in any personal or commercial project 🎁

Tool Cool Range Slider

React Round Slider

Try my other projectReact Round Slider - an accessible and mobile-friendly React round slider library, powered by TypeScript and SVG.

Tool Cool Color Picker

Tool Cool Color Picker is a color picker library written in typescript and using web component technologies.Tool Cool Color Picker

Other Projects

  • ミ☆ mzParticles ☆彡 - TypeScript library for creating particle effects.
  • mzMath - a collection of typescript-based math helpers.
  • mzSVG - TypeScript-based library for managing SVG in the browser and Node.js.
  • React Input Number - React component that provides a user-friendly interface for entering numerical values.
  • Stripes Maker - Node.js stripe pattern generator and maker.
  • mzCanvas - The TypeScript-based library for manipulating <canvas> element and 2D graphics in the browser.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp