Hugeicons Animated

Use an icon

Render an animated icon with automatic hover or direct control.
1 min read

Basic use#

Import the installed component and render it in your React code.

The icon starts its animation when the pointer enters its wrapper. Finite gestures finish their current animation when the pointer leaves. Looping gestures stop and return to rest.

Choose an interaction#

Style the wrapper#

Each icon accepts standard div attributes. className, event handlers, and accessibility attributes apply to the wrapper.

Tip

The SVG uses currentColor, so the icon follows the text color on its wrapper.

Built with Docs7