value
Description
sets the selected segmentType
string|number
Example
<script>
const options = [
{ id: 1, label: "One", icon: "wxi-view-sequential" },
{ id: 2, label: "Two", icon: "wxi-view-grid" },
{ id: 3, label: "Three", icon: "wxi-view-column" }
];
</script>
<Segmented {options} value={2} />
Related article: Setting the value
Related sample: Segmented Button