segmented
A row of mutually exclusive buttons (segmented control).
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
options | string | - | Shorthand for comma-separated labels. |
value | string | - | Selected value in shorthand mode. |
Can also contain segment children for icon support:
segmented segment(label="Left" icon="align-left" active=true) segment(label="Center" icon="align-center") segment(label="Right" icon="align-right")