Slider

Slider adjusts an approximate numeric value along a continuous or stepped range — volume, opacity, or filter bounds.

Bind an f64 signal, set min/max/step in appearance, and add SliderLabel children when key values need captions. For exact integers, prefer NumericStepper or Input. Dual-thumb range selection is not supported.

  • Volume, opacity, or percentage controls
  • Settings where approximate values are acceptable
  • Filters with continuous numeric ranges
  • Bind a f64 signal via SliderBind.
  • Configure min, max, step, and orientation in SliderAppearance.
  • Add SliderLabel children to annotate key values on the track.
Default

Basic slider with a 0-100 range.

Min and max

Constrain the value between custom bounds.

Step and stops

Snap to fixed increments and display stop marks.

Stops off

Keep step snapping while hiding stop marks.

Vertical

Render vertically with the minimum value at the bottom.

Labels

Annotate key points using SliderLabel.

0
50
100