SegmentedControlA segmented control is a linear set of two or more segments.Segmented control is often used to display and switch between different views.

- Overview
- UX Guidelines
- Dev
Usage Examples
Style
Property | Preview |
---|---|
Default Best suitable as a main feature of the screen, mainly used for filtering or changing views within a screen. | ![]() |
Form Suitable for form or settings screens, matches with other related components such as textField, Picker and others. preset="form" | ![]() |
Layout
Property | Preview |
---|---|
Full width The component stretches to the width of the screen. | ![]() |
Hug content The components stretches according to the width of the labels. | ![]() |
Segments AmountSegmented Control has at least 2, and up to 4 values. a single value always have to be selected.
Content OptionsSegmented Control has at least 2, and up to 4 values. a single value always have to be selected.
Spec
Default style
Form style
Accessory LabelText label is optional and can be enabled when required, yet not recommended in this style.

PlaygroundCode Example
APIThis is the list of additional props for the component