Animated React component — Building / BuildingIcon
Hover the building icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Building } from "lucide-motion";Also exported as BuildingIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Building } from "lucide-motion";
<Building 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": "M12 10h.01"
}
],
[
"path",
{
"d": "M12 14h.01"
}
],
[
"path",
{
"d": "M12 6h.01"
}
],
[
"path",
{
"d": "M16 10h.01"
}
],
[
"path",
{
"d": "M16 14h.01"
}
],
[
"path",
{
"d": "M16 6h.01"
}
],
[
"path",
{
"d": "M8 10h.01"
}
],
[
"path",
{
"d": "M8 14h.01"
}
],
[
"path",
{
"d": "M8 6h.01"
}
],
[
"path",
{
"d": "M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3"
}
],
[
"rect",
{
"x": "4",
"y": "2",
"width": "16",
"height": "20",
"rx": "2"
}
]
]