Switch
A control that indicates whether a setting is on or off.
Made by imskyleen
Installation
Usage
Props
Animate UI Props
Switch
Prop | Type | Default |
---|---|---|
thumbIcon? | React.ReactNode | - |
rightIcon? | React.ReactNode | - |
leftIcon? | React.ReactNode | - |
motionProps? | HTMLMotionProps<'button'> | - |