Vibe UI
Initializing Vibe UI System...

Slider

An input component that allows users to select a single value or range of values from a scale.

Slider

An input component that allows users to select a single value or range of values from a scale.

Preview

Installation

pnpm dlx vibe-ui-kit@latest add slider

Preset Variations

Explore the visual design presets of the Slider, including Default, Glassmorphic, Retro Neobrutalist, Neon Glow, and Cyberpunk controller styles.

Default style
Glassmorphic
Retro Neobrutalist
Neon Glow
Cyberpunk Monospace

Advanced Features

Our Slider is highly configurable, supporting double range handles, custom ticks step values, and continuous value tooltips in both horizontal and vertical directions.

Range Slider (Double Handle)20 - 80
Discrete Steps & Ticks
0%20%40%60%80%100%
Vertical Sliders (Single & Double Dot)
Single Dot
Double Dot

Props

Slider

PropTypeDefaultDescription
variant'default' | 'retro' | 'glass' | 'glow' | 'cyberpunk''default'The visual preset style variant of the slider track, active range, and thumb handle.
showTooltipbooleanfalseRender a floating, continuous value tooltip above the active thumb handle.
tooltipFormat(value: number) => stringundefinedOptional callback function to custom format the floating tooltip string.
marksboolean | { value: number; label?: string }[]undefinedDraw tick marks along discrete step points. Passing an array of objects prints text labels at the respective values.

Contributors

Theme Customizer

8px
@theme { --radius: 0.5rem; --glass-blur: 8px; }
Changes apply instantly to this documentation workspace.