Skip to main content
Slider

A native element that slides to change a value.

Updated this week

Overview

Slider elements are horizontal tracks that adjust a value when slid. Play's slider uses Apple’s native slider.

There are two parts to a slider element: the thumb and the track. The thumb (or knob) is the circle that you drag to a position on the slider. The track is the line that the thumb drags along.

The track is broken into two sections by the thumb. Any track to the left of the thumb is the min. Any track to the right of the thumb is the max.


Element Properties

Value

Set the slider's starting value.

Step

Set the slider's increment between each value.

Min

Set the bottom of the slider's range.

Max

Set the top of the slider's range.

Min Symbol

Set the SF Symbol to appear on the left of the slider.

Max Symbol

Set the SF Symbol to appear on the right of the slider.

Round To

Set the number of decimal places to display the slider values:

  • Whole Number

  • 1 Decimal Place

  • 2 Decimal Places

Customize

Colors

Set the colors for the slider's min, max, and knob.

Symbol Colors

Set the color and rendering mode for the slider's min and max symbols.



Expression Editor Properties

Max Value

Slider.maxValue

Max value of the slider.

Min Value

Slider.minValue

Min value of the slider.

Step Value

Slider.stepValue

Step value of the slider.

Value

Slider.value

Current value of the slider.

Sliders also have access to general object properties.


Resources

Related Triggers & Actions

Links

Did this answer your question?