Toggle Group
Provides a shared state to a series of toggle buttons.
Made by imskyleenInstallation
Usage
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 } |
ToggleGroupItem
Prop | Type | Default |
---|---|---|
size? | 0 | default |
variant? | 0 | default |
spanProps? | React.HTMLAttributes<HTMLSpanElement> | - |
buttonProps? | HTMLMotionProps<"button"> | - |
children | React.ReactNode | - |