| Prop | Default | Type |
|---|---|---|
as | 'button' | AsTag | ComponentThe element or component this component should render as. Can be overwritten by |
asChild | booleanChange the default rendered element for the one passed as a child, merging their props and behavior. Read our Composition guide for more details. | |
disabled | booleanWhen | |
value* | AcceptableValueA string value for the toggle group item. All items within a toggle group should use a unique value. |
| Slots (default) | Payload |
|---|---|
modelValue | booleanCurrent value |
state | 'on' | 'off'Current state |
pressed | booleanCurrent pressed state |
disabled | booleanCurrent disabled state |
