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.

Related Posts

Confetti-Falling-Animation-Effect-party

Confetti Falling Animation Effect In JavaScript | party.js

Party.js is a JavaScript library to brighten user site experience with visual effects! Celebrate success with dom confetti! The library is written in TypeScript and compiled into…

jquery-cookie-consent

Simple jQuery Cookie Consent Plugin

jquery.cookie-consent is a simple jQuery plugin to request consent to use cookies. An easy-to-use and highly customizable cookie consent bar that informs your visitors of the use…

Timepicker-Plugin-for-jQuery

Timepicker JavaScript Plugin for jQuery Inspired by Google Calendar

jquery.timepicker is a lightweight jQuery timer plugin inspired by Google Calendar. It supports both mouse and keyboard navigation and weighs 5.5KB minified and compact. Features: Highly customizable…

angular-ngx-carousel-slider

A Lightweight, Touchable, and Responsive Angular Universal Carousel Library

ngxCarousel is a lightweight, tactile, and responsive library for creating an angular carousel. No dependencies, no more hammer. Must Read: Angular Responsive Image Slider With Lightbox Popup…

vue-fullpage-modal

First Mobile Full-screen Modal Popup Library For Vue

Vue full-page modal is a responsive, mobile-compatible, screen-friendly pop-up library for Vue.js. Must Read: Modal Component Is Written in Vanilla JS | ensemble Modal How to make…

random-number-picker

Generate a Random Number Picker In Vanilla JavaScript

Random Number Picker is a Vanilla JS-based number picker that allows you to generate a random number within a specified range. Must Read: Generating Lottery Numbers Using…