Toggle Group
A set of two-state buttons that can be toggled on or off.
Installation
Examples
Multiple
Props
Animate UI props
ToggleGroup
Prop | Type | Default |
---|---|---|
type | 0 | - |
transition? | Transition | { type: 'spring', bounce: 0, stiffness: 200, damping: 25 } |
activeClassName? | string | - |
variant? | 0 | default |
size? | 0 | default |
ToggleGroupItem
Prop | Type | Default |
---|---|---|
children | React.ReactNode | - |
buttonProps? | HTMLMotionProps<"button"> | - |
spanProps? | React.HTMLAttributes<HTMLSpanElement> | - |
variant? | 0 | default |
size? | 0 | default |