CleenUI · Forms · Slider

Slider

Single-handle numeric slider with marks, step intervals, and live value display.

storybook.cleenui.com · forms-slider--default
Open in new window

About Slider

Slider is the single-value variant of RangeSlider. Drag the handle, click on the track to jump, or use arrow keys for fine adjustments. A live value bubble shows the current number above the handle during interaction.

Discrete mode with tick marks is useful for choosing from a fixed set (e.g. quality presets); continuous mode is the default for arbitrary numeric input.

When to use it

  • Volume, brightness, or opacity controls.
  • Quality preset pickers in settings.
  • Quantity selection in checkout flows.
  • Weighting controls in configuration UIs.

Common props

Prop
Type
Description
value
number
Current value (controlled).
min
number
Lower bound.
max
number
Upper bound.
step
number
Step increment.
showValue
boolean
Render the live value bubble.
⚡ Already in an AI editor?

Set up CleenUI in your tool.

Skip the manual import — ask your AI agent to build with this component. The Builder skill knows its props, variants, and idioms.