Slider

The v-slider component can be used as an alternative visualization instead of a number input.

Basic

The v-slider component is a better visualization of the number input.

Disabled and Readonly

You cannot interact with disabled and readonly sliders.

Colors

You can set the colors of the slider using the props color, track-color and thumb-color.

color
track-color
thumb-color
50.0

Icons

You can add icons to the slider with the append-icon and prepend-icon props.

Step

Using the step prop you can control the precision of the slider, and how much it should move each step.

Validation

Vuetify includes simple validation through the rules prop.

30

Min and Max

You can set min and max values of sliders.

Size

Use thumb-size, tick-size, and track-size prop to increase and decrease the size of thumb, tick and track.

Thumb

You can display a thumb label while sliding or always with the thumb-label prop.

Show thumb when using slider
Always show thumb label
45.0
Custom thumb size
45.0
Custom thumb label
😐

Ticks

Tick marks represent predetermined values to which the user can move the slider.

Show ticks when using slider
Always show ticks
Tick size
Tick labels
Figs
Lemon
Pear
Apple

Vertical

You can use the vertical prop to switch sliders to a vertical orientation.

Append text field

Sliders can be combined with other components in its append slot, such as v-text-field, to add additional functionality to the component.

Append and prepend

Use slots such as append and prepend to easily customize the v-slider to fit any situation.

40BPM
CONTENTS
  • Introduction

  • Basic

  • Disabled and Readonly

  • Colors

  • Icons

  • Step

  • Validation

  • Min and max

  • Size

  • Thumb

  • Ticks

  • Vertical

  • Append text field

  • Append and prepend