Usage
TheVRangeSlider component allows users to select a range between two values using dual thumb controls.
With Label
Add a label to the slider:Step Increments
Define step increments for precise values:Thumb Labels
Show labels on the thumb controls:Strict Mode
Prevent thumbs from crossing:Vertical Orientation
Display the slider vertically:Custom Colors
Customize track and thumb colors:Props
The v-model value of the component as an array of two numbers representing the range
The minimum allowed value
The maximum allowed value
The step increment when moving the slider. 0 means no step restriction
When enabled, prevents the range thumbs from crossing each other
Disables the slider
Makes the slider read-only
Label text for the slider
The orientation of the slider
Show labels on the thumb controls. Use ‘always’ to keep labels visible
Size of the thumb controls
Show tick marks along the slider track
Custom tick positions and labels
Size of the tick marks
Applies specified color to the control
Color of the slider track
Color of the filled portion of the track
Color of the thumb controls
Height/width of the track
Elevation of the thumb controls
Border radius of the thumb controls
Puts the slider in an error state
Hint text to display below the slider
Forces hint to always be visible
Displays a list of messages or a single message
Slots
Slot for custom label content
Slot for content before the slider
Slot for content after the slider
Slot to customize the thumb label content
Slot to customize tick label rendering
Events
Emitted when the range value changes
Emitted when the user starts interacting with the slider
Emitted when the user stops interacting with the slider
Emitted when focus state changes
In non-strict mode, the thumbs can cross each other and their order will automatically adjust to maintain the proper min/max relationship.