Flip

Flip is a component that provides an animation to switch between two elements while flipping.

Usage

import { Flip } from "@yamada-ui/react"
<Flip />

Change Direction

To change the direction, set orientation to "horizontal" or "vertical". By default, "horizontal" is set.

Change the Duration

To change the duration, set a numerical value (seconds) to duration.

Delay

If you want to delay the switch, set a numerical value (seconds) to delay.

Disable

To disable, set disabled to true.

Read-Only

To ready-Only, set readOnly to true.

Control

Props