useAnimation

useAnimation is a custom hook that implements animations similar to CSS keyframes.

Usage

import { useAnimation } from "@yamada-ui/react"
const animation = useAnimation()

Use Theme Tokens

To use theme animations, set the argument.

Use Multiple Animations

To use multiple animations, set the arguments as an array.

Use Responsive Design

To use responsive design, set the animation as a object.

Use Color Mode

To use color mode, pass an array to animation.