Flip Button
A clickable button featuring a smooth flipping animation triggered on hover.
Made by imskyleen
Installation
Usage
Examples
From Left
Use the from
prop to change the direction of the flip.
Props
Prop | Type | Default |
---|---|---|
from? | string | top |
backClassName? | string | - |
frontClassName? | string | - |
className? | string | - |
transition? | Transition | { type: "spring", stiffness: 280, damping: 20 } |
backText | string | - |
frontText | string | - |