Animated React component — Anvil / AnvilIcon
Hover the anvil icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Anvil } from "lucide-motion";Also exported as AnvilIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Anvil } from "lucide-motion";
<Anvil 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": "M7 10H6a4 4 0 0 1-4-4 1 1 0 0 1 1-1h4"
}
],
[
"path",
{
"d": "M7 5a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1 7 7 0 0 1-7 7H8a1 1 0 0 1-1-1z"
}
],
[
"path",
{
"d": "M9 12v5"
}
],
[
"path",
{
"d": "M15 12v5"
}
],
[
"path",
{
"d": "M5 20a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3 1 1 0 0 1-1 1H6a1 1 0 0 1-1-1"
}
]
]