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