Skip to content
Binary UIKit reference Stable

Slider

Single-value range control with optional readout.

Choose Slider for an approximate value within a bounded range where direct manipulation aids comparison. The accent fill covers the full visible track height.

Interactive example

Loading interactive example

API

MemberTypeKindRequiredDefault
disabledbooleanpropNofalse
formatValue(value: number) => stringcallbackNoundefined
labelstringpropNoundefined
maxnumberpropNo100
minnumberpropNo0
onValueChange(value: number) => voidcallbackNoundefined
showValuebooleanpropNofalse
stepnumberpropNo1
valuenumberbindingNo0

Examples

Source

Loading source