Beta
Animate UI

Flip Button

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

Made by imskyleen

Installation

Usage

<FlipButton frontText="Front" backText="Back" />

Examples

From Left

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

Props

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

Built by Skyleen. The source code is available on GitHub.

On this page