ComponentsToggle group
Toggle Group
A set of toggle buttons for selection within a group.
A set of toggle buttons for selection within a group.
Prop | Type | Default |
---|---|---|
asChild | boolean | |
defaultValue | string[] | |
dir | 'ltr' | 'rtl' | "ltr" |
disabled | boolean | |
getRootNode | () => ShadowRoot | Node | Document | |
id | string | |
ids | Partial<{ root: string; toggle(value: string): string }> | |
loop | boolean | |
multiple | boolean | |
onValueChange | (details: ValueChangeDetails) => void | |
orientation | Orientation | |
rovingFocus | boolean | |
value | string[] |
Prop | Type | Default |
---|---|---|
value | string | |
asChild | boolean | |
disabled | boolean |