Animations/AnimatedIcon

AnimatedIcon

Wrap any Lucide (or other) icon with a Motion-powered animation preset. 8 presets, hover trigger mode, and color control — one wrapper to animate them all.

import { AnimatedIcon } from "@animui/ui"

Basic

All presets

spin
pulse
bounce
shake
wiggle
float
ping
pop

Hover trigger

Set trigger="hover" to only animate on mouse-over.

Props

PropTypeDefaultDescription
preset"spin" | "pulse" | "bounce" | "shake" | "pop" | "wiggle" | "ping" | "float""pulse"Animation preset to apply.
colorstringCSS color for the icon.
sizenumber | stringSize of the icon container (px or CSS value).
trigger"always" | "hover" | "click""always"When to run the animation.
continuousbooleantrueLoop the animation continuously.
classNamestringAdditional classes.
© 2026 Steal Shadow. MIT License.Report an issue