Slider in Figma

Picks a value, or a range, by dragging along a track.

Use a slider when people choose a rough value and see the effect straight away, like volume, brightness or a price range. Slider is the track and handles, Single or Range; Slider field adds a label, the current value and the min and max.

Do

  • Show the current value next to the label.
  • Use steps that make sense, like 5% or whole numbers.
  • Pair with a Number input when exact values matter.
  • Label the ends when the scale isn't obvious.

Don't

  • Use a slider for exact values, like a phone number or an age.
  • Hide the value; people can't guess it from the handle.
  • Make the handle smaller than the touch area.
  • Use a slider with only two or three options; use a Segmented control.

Code and examples