Retour au classement

NightCatSama/vue-slider-component

TypeScriptnightcatsama.github.io/vue-slider-component

🌡 A highly customized slider component

vue-componentvue-slider-componentslidervue-sliderrange-slidervuevue3slidersvue-range-slider
Croissance des étoiles
Étoiles
2.4k
Forks
338
Croissance hebdomadaire
Issues
42
1k2k
sept. 2016déc. 2019avr. 2023juil. 2026
Artefactsnpmnpm install vue-slider-component
README

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

$ 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

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

🚀 Usage

Vue 2
<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>
Vue 3
<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>

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

Dépôts similaires
quasarframework/quasar

Quasar Framework - Build high-performance VueJS user interfaces in record time

JavaScriptnpmMIT Licensequasar-frameworkvuejs
quasar.dev
27.2k3.7k
primefaces/primevue

Next Generation Vue UI Component Library

VueMIT Licensevuevuejs
primevue.org
14.5k1.8k
surmon-china/vue-awesome-swiper

🏆 Swiper component for @vuejs

JavaScriptnpmMIT Licenseslidevue
github.surmon.me/vue-awesome-swiper
12.8k1.9k
bytedance/IconPark

🍎Transform an SVG icon into multiple themes, and generate React icons,Vue icons,svg icons

TypeScriptnpmApache License 2.0svgstroke
iconpark.bytedance.com
9.1k541
surmon-china/vue-quill-editor

@quilljs editor component for @vuejs(2)

JavaScriptnpmMIT Licensevuevue-quill-editor
github.surmon.me/vue-quill-editor
7.4k1k
apertureless/vue-chartjs

📊 Vue.js wrapper for Chart.js

TypeScriptnpmMIT Licensevuechart
vue-chartjs.org
5.7k810
surmon-china/videojs-player

@videojs player component for @vuejs(3) and React.

TypeScriptnpmMIT Licensevideo-playervue
github.surmon.me/videojs-player
5.4k1.1k
sagalbot/vue-select

Everything you wish the HTML <select> element could do, wrapped up into a lightweight, extensible Vue component.

JavaScriptnpmMIT Licensevue-componentvue-select
vue-select.org
4.7k1.3k
surmon-china/vue-codemirror

@codemirror code editor component for @vuejs

TypeScriptnpmMIT Licensevuecodemirror
github.surmon.me/vue-codemirror
3.5k376
dingyong0214/ThorUI-uniapp

ThorUI组件库,轻量、简洁的移动端组件库。组件文档地址:https://thorui.cn/doc

VueMIT Licenseuni-appvue
2.8k392
gruhn/vue-qrcode-reader

A set of Vue.js components for detecting and decoding QR codes.

TypeScriptnpmMIT Licenseqrcode-readervuejs
gruhn.github.io/vue-qrcode-reader
2.3k349
dcloudio/uni-ui

基于uni-app的、全端兼容的、高性能UI框架

JavaScriptnpmMIT Licenseui-kitui-library
uniapp.dcloud.io/component/uniui/uni-ui.html
2.1k667