Press "Enter" to skip to content

A Simple Vue Range Slider Bar Component

Slide Bar is a Vue.js component that allows you to create customizable range slider controls in your web application.

range slider for vue js, vue slider component, multi range slider vue, vue 3 range slider, nuxt range slider, vue range slider npm

Lightweight Customizable Range Slider With labels | rangeslide.js

How to make use of it:

Install

npm install vue-slide-bar --save
or
yarn add vue-slide-bar

Usage

// main.js
import Vue from 'vue'
import VueSlideBar from 'vue-slide-bar'

Vue.component('VueSlideBar', VueSlideBar)
// xxx.vue
import VueSlideBar from 'vue-slide-bar'

export default {
  components: {
    VueSlideBar
  }
}

Options

Props

PropsTypeDefaultDescription
v-modelNumber,String0Initial value (v-model)
minNumber0Minimum value
maxNumber100Maximum value
process-styleObjectnullProcess bar style.
tooltip-stylesObjectnullTooltip style.
label-styleObjectnullLabel style.
dataArraynullCustom data.
is-disabledBooleanfalseFlag for disable slider bar
draggableBooleantrueFlag for active/disable draggable
show-tooltipBooleantrueFlag display tooltip
icon-widthNumber20Icon width
line-heightNumber5Line height
speedNumber0.5Transition time
paddinglessBooleanfalseRemove padding and min-height

Events

NameDescription
inputtriggered on value change
callbackRangetriggered on range value change
dragStarttriggered on start drag
dragEndtriggered on stop drag

Slot

NameDescription
tooltipCustomize the tooltip slot.

Minimal Range Slider Control, Vue Slide Bar Plugin/Github


See Demo And Download

Official Website(biigpongsatorn): Click Here

This superior jQuery/javascript plugin is developed by biigpongsatorn. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.