Range Slider
Includes designs by Avinit
Bubble Slider
RangeSlider.vueDrag fast and the bubble leans
Install
Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide
Download the release archive to your project root, then install the local file.
Import the shared styles once in your application.
TSUsage
API Reference
format?(value: number) => stringFormats the value shown in the bubble.
Default
—class?stringDefault
—v-model?numberDefault
—defaultValue?numberDefault
0min?numberDefault
0max?numberDefault
100step?numberDefault
1disabled?booleanDefault
—aria-label?stringDefault
—formatValueText?(value: number) => stringAnnounced instead of the raw number — pass one when the value carries a unit or a suffix ("72.5 kg", "35%"); a bare number needs no valueText.
Default
—variant?RangeStyleDefault
standardlabel?stringDefault
—ariaLabel?stringAccessible name. Falls back to `label`, then "Value".
Default
—bars?numberDefault
32showTicks?booleanDefault
truemajorEvery?numberDefault
5gap?numberDefault
14unit?stringDefault
—@value-change?(value: number) => voidDefault
—Updated