GitPedia

Vue slider component

๐ŸŒก A highly customized slider component

From NightCatSamaยทUpdated June 8, 2026ยทView on GitHubยท

This is still in beta and may contain unexpected bugs, please use with caution. The project is written primarily in TypeScript, distributed under the MIT License license, first published in 2016. It has gained significant community traction with 2,422 stars and 338 forks on GitHub. Key topics include: range-slider, slider, sliders, vue, vue-component.

banner

downloads
npm-version
license

๐ŸŽš A highly customized slider component

English | ็ฎ€ไฝ“ไธญๆ–‡ | ะ ัƒััะบะธะน

๐Ÿ‰ Vue3.x

This is still in beta and may contain unexpected bugs, please use with caution.

install

bash
$ yarn add vue-slider-component@next # npm install vue-slider-component@next --save

Breaking Changes

โœจ Features

  • ๐Ÿ– More customizable
  • ๐Ÿ‘— Multiple style themes
  • ๐Ÿณ Support for more sliders
  • ๐Ÿ“Œ Add marks
  • ๐ŸŽ‰ Support SSR
  • ๐Ÿ’ Support Typescript

๐Ÿ“š Documentation

Document: https://nightcatsama.github.io/vue-slider-component

Live Demo: https://jsfiddle.net/NightCatSama/2xy72dod/10547/

๐ŸŽฏ install

bash
$ yarn add vue-slider-component # npm install vue-slider-component --save

๐Ÿš€ Usage

<details><summary>Vue 2</summary>
vue
<template> <vue-slider v-model="value" /> </template> <script> import VueSlider from 'vue-slider-component' import 'vue-slider-component/theme/antd.css' export default { components: { VueSlider, }, data() { return { value: 0, } }, } </script>
</details> <details><summary>Vue 3</summary>
vue
<template> <vue-slider v-model="value" /> </template> <script setup> import { reactive, toRefs } from 'vue' import VueSlider from 'vue-slider-component' import 'vue-slider-component/theme/antd.css' export default { setup() { const data = reactive({ value: 0 }) return toRefs(data) }, } </script>
</details>

Changelog

Detailed changes for each release are documented in the release notes.

Support

If my code has helped you, please consider buy me a coffee โ˜•.

License

MIT

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub โ†’

This article is auto-generated from NightCatSama/vue-slider-component via the GitHub API.Last fetched: 6/19/2026