Animated React component — Leaf / LeafIcon
Hover the leaf icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Leaf } from "lucide-motion";Also exported as LeafIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Leaf } from "lucide-motion";
<Leaf 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": "M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z"
}
],
[
"path",
{
"d": "M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12"
}
]
]