Animated React component — TreePine / TreePineIcon
Hover the tree-pine icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { TreePine } from "lucide-motion";Also exported as TreePineIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { TreePine } from "lucide-motion";
<TreePine 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": "m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z"
}
],
[
"path",
{
"d": "M12 22v-3"
}
]
]