# vue-slider-component

> A highly customized slider component

Latest version **3.2.24** (published 2022-12-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-slider-component
pnpm add vue-slider-component
yarn add vue-slider-component
bun add vue-slider-component
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.2.24 |
| Published | 2022-12-07 |
| First published | 2016-09-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 1.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2420 |
| Author | NightCatSama |
| Maintainers | nightcatsama |
| Keywords | vue, slider, vue-slider, vue-component, vue-slider-component |

## Links

- npm: https://www.npmjs.com/package/vue-slider-component
- Repository: https://github.com/NightCatSama/vue-slider-component
- Issues: https://github.com/NightCatSama/vue-slider-component/issues
- npm.io page: https://npm.io/package/vue-slider-component

## Dependencies (2)

- [core-js](https://npm.io/package/core-js.md) ^3.6.5
- [vue-property-decorator](https://npm.io/package/vue-property-decorator.md) ^8.0.0

## Alternatives

- [adhdev](https://npm.io/package/adhdev.md) — 11.1K weekly downloads
- [react-slide-button](https://npm.io/package/react-slide-button.md) — 310 weekly downloads
- [better](https://npm.io/package/better.md) — 42 weekly downloads
- [react-native-swipe-image](https://npm.io/package/react-native-swipe-image.md) — 22 weekly downloads
- [nl.fokkezb.pulltorefresh](https://npm.io/package/nl.fokkezb.pulltorefresh.md) — 11 weekly downloads

## Recent versions

- 3.2.24 (latest) — 2022-12-07
- 3.2.24-test.3 (test) — 2022-12-14
- 4.1.0-beta.7 (next) — 2022-12-13
- 4.0.0-beta.7 (beta) — 2022-06-22
- 2.8.16 (stable) — 2019-04-06
- 3.2.24-test.2 — 2022-12-14
- 3.2.24-test.1 — 2022-12-14
- 3.2.24-test.0 — 2022-12-14
- 3.2.23 — 2022-11-02
- 4.1.0-beta.6 — 2022-11-02
- 3.2.22 — 2022-10-29
- 4.1.0-beta.5 — 2022-10-29
- 4.1.0-beta.4 — 2022-10-28
- 4.1.0-beta.3 — 2022-10-28
- 3.2.21 — 2022-10-27
- … 195 more at https://npm.io/package/vue-slider-component/versions

## README

![banner](https://raw.githubusercontent.com/NightCatSama/vue-slider-component/master/.github/banner.jpg)

[![downloads](https://img.shields.io/npm/dm/vue-slider-component.svg)][npm]
[![npm-version](https://img.shields.io/npm/v/vue-slider-component.svg)][npm]
[![license](https://img.shields.io/npm/l/express.svg)]()

> 🎚 A highly customized slider component

English | [简体中文][ch] | [Русский][ru]

## 🍉 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

- `value` -> `modelValue`. ([Official API Changes](https://v3-migration.vuejs.org/breaking-changes/v-model.html#v-model))

## ✨ 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](https://github.com/NightCatSama/vue-slider-component/blob/master/CHANGELOG.md).

## Support

If my code has helped you, please consider [buy me a coffee](https://www.buymeacoffee.com/nightcat) ☕.

## License

[MIT](https://github.com/NightCatSama/vue-slider-component/blob/master/LICENSE)

[npm]: https://www.npmjs.com/package/vue-slider-component
[en]: https://github.com/NightCatSama/vue-slider-component/blob/master/README.md
[ch]: https://github.com/NightCatSama/vue-slider-component/blob/master/README-CN.md
[ru]: https://github.com/NightCatSama/vue-slider-component/blob/master/README-RU.md

---
_Source: https://npm.io/package/vue-slider-component · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
