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