Skip to content
Binary UIKit reference Stable

Segmented

Single-select segmented control.

Choose Segmented for one selection among a short set of closely related text options.

Interactive example

Loading interactive example

API

MemberTypeKindRequiredDefault
ariaLabelstringpropNoundefined
onValueChange(value: T) => voidcallbackNoundefined
optionLabel(value: T) => stringcallbackNoundefined
optionsreadonly T[]propYes
sizeControlSizepropNo'md'
valueTbindingNoundefined as T | undefined

Examples

Source

Loading source