Animated React component — Construction / ConstructionIcon
Hover the construction icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Construction } from "lucide-motion";Also exported as ConstructionIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Construction } from "lucide-motion";
<Construction 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.
[
[
"rect",
{
"x": "2",
"y": "6",
"width": "20",
"height": "8",
"rx": "1"
}
],
[
"path",
{
"d": "M17 14v7"
}
],
[
"path",
{
"d": "M7 14v7"
}
],
[
"path",
{
"d": "M17 3v3"
}
],
[
"path",
{
"d": "M7 3v3"
}
],
[
"path",
{
"d": "M10 14 2.3 6.3"
}
],
[
"path",
{
"d": "m14 6 7.7 7.7"
}
],
[
"path",
{
"d": "m8 6 8 8"
}
]
]