Skip to content
ghostui

Preview

Playback volume
65%
0%50%100%

Design guidance

Each thumb has an accessible name and supports Arrow, Home, End, Page Up, and Page Down. Set name for form submission. Use disabled for unavailable controls and aria-invalid="true" with an owning Field when the current value needs correction. A range keeps its handles ordered through Base UI collision behavior.

This component wraps Base UI slider for its behavior.

Installation

Install

Basic usage

Use the exported component in the composition shown above. Keep labels, data, and callbacks in the consuming application.

Structures

Examples

Tall marked single

The 40px rail shows a solid selected range, a focused/hoverable handle, and 0/50/100 ruler values.

Playback volume
65%
0%50%100%

Tall marked range

Two handles control a bounded range and cannot cross.

Playback range
25–75%

Brightness pads

Use canonical icon buttons for coarse decrement and increment actions beside the slider. The pads disable at 0% and 100%.

Screen brightness
65%

Ruler

Use Slider.Ruler, Slider.Mark, and Slider.RulerValue when a scale needs visible ticks and values.

0%50%100%

Boundaries and form values

Exercise the component with saved values and its meaningful boundary states.

Keep volume at 80% or less during quiet hours.

Annual budget ceiling
$765,432,100

API reference