Range Sliders

The v-range-slider component complements the v-slider component nicely when you are in need of representing a range of values.

Usage

Sliders reflect a range of values along a bar, from which users may select a single value. They are ideal for adjusting settings such as volume, brightness, or applying image filters.

API

Examples

Props

Strict

With the strict prop applied, the thumbs of the range slider are not allowed to cross over each other.

v-range-slider/prop-strict.vue

Disabled

You cannot interact with disabled sliders.

v-range-slider/prop-disabled.vue

Min and max

You can set min and max values of sliders.

v-range-slider/prop-min-and-max.vue

Step

v-range-slider can have steps other than 1. This can be helpful for some applications where you need to adjust values with more or less accuracy.

v-range-slider/prop-step.vue

Vertical sliders

You can use the vertical prop to switch sliders to a vertical orientation. If you need to change the height of the slider, use css.

v-range-slider/prop-vertical.vue

Slots

Thumb label

Using the tick-labels prop along with the thumb-label slot, you can create a very customized solution.

v-range-slider/slot-thumb-label.vue

Ready for more?

Continue your learning with related content selected by the Team or move between pages by using the navigation links below.