ToggleGroup

A set of two-state buttons that can be toggled on or off.
				
<ToggleGroup.Group class="toggle__group" slot="component">
    <ToggleGroup.Button value="1" class="toggle">1</ToggleGroup.Button>
    <ToggleGroup.Button value="2" class="toggle">2</ToggleGroup.Button>
    <ToggleGroup.Button value="3" class="toggle">3</ToggleGroup.Button>
</ToggleGroup.Group>
				
			

API Reference

Button

Prop Type Default
value string -
disabled boolean false

Group

Prop Type Default
type Type single
disabled boolean false
value string | Array<string> type === 'single' ? '' : []