Animated React component — Ham / HamIcon
Hover the ham icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Ham } from "lucide-motion";Also exported as HamIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Ham } from "lucide-motion";
<Ham size={32} />duration={0.2} stagger={0}duration={1.5} stagger={0.4}easing="linear"trigger="mount" repeat={Infinity}The icon's underlying SVG node tree — useful if you need to render or transform it yourself instead of using the component.
[
[
"path",
{
"d": "M13.144 21.144A7.274 10.445 45 1 0 2.856 10.856"
}
],
[
"path",
{
"d": "M13.144 21.144A7.274 4.365 45 0 0 2.856 10.856a7.274 4.365 45 0 0 10.288 10.288"
}
],
[
"path",
{
"d": "M16.565 10.435 18.6 8.4a2.501 2.501 0 1 0 1.65-4.65 2.5 2.5 0 1 0-4.66 1.66l-2.024 2.025"
}
],
[
"path",
{
"d": "m8.5 16.5-1-1"
}
]
]