Animation

Yamada UI provides features to easily achieve the animation you want.

Usage

Box

You can also use theme keyframes to apply common keyframes throughout your application. Using animationName or _keyframes is recommended.

Box

Use Theme Tokens

To use theme animations, set the animation property.

Box

Components

Yamada UI provides components that make animations easier to implement.

Motion

Airy

A component that provides an animation that smoothly switches between two elements.

Collapse

A component that expands or collapses an element to display it.

FadeScale

A component that gradually expands or shrinks an element to display or hide it.

Fade

A component that gradually displays or hides an element.

Flip

A component that provides an animation that flips between two elements.

Ripple

A component that provides a ripple effect to an element to recognize if the user has clicked it.

Rotate

A component that provides an animation that rotates between two elements.

Skeleton

A component that functions as a placeholder until the content is loaded.

SlideFade

A component that gradually displays or hides an element from a specified position.

Slide

A component that displays or hides an element from the corner of the page.

Hooks

Yamada UI provides convenient custom hooks for animations.