Beta

Flip Button

A clickable button featuring a smooth flipping animation triggered on hover.

Installation

Examples

From Left

Use the from prop to change the direction of the flip.

Props

PropTypeDefault
frontText
string
-
backText
string
-
transition?
Transition
{ type: "spring", stiffness: 280, damping: 20 }
className?
string
-
frontClassName?
string
-
backClassName?
string
-
from?
string
top

On this page