Rotate

Rotate is a component that provides an animation to switch between two elements while rotating.

Usage

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

Change Rotate

To change the rotate, set rotate to a numerical value. By default, 45 is set.

Change 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