Animated React component — MapPinHouse / MapPinHouseIcon
Hover the map-pin-house icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { MapPinHouse } from "lucide-motion";Also exported as MapPinHouseIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { MapPinHouse } from "lucide-motion";
<MapPinHouse 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": "M15 22a1 1 0 0 1-1-1v-4a1 1 0 0 1 .445-.832l3-2a1 1 0 0 1 1.11 0l3 2A1 1 0 0 1 22 17v4a1 1 0 0 1-1 1z"
}
],
[
"path",
{
"d": "M18 10a8 8 0 0 0-16 0c0 4.993 5.539 10.193 7.399 11.799a1 1 0 0 0 .601.2"
}
],
[
"path",
{
"d": "M18 22v-3"
}
],
[
"circle",
{
"cx": "10",
"cy": "10",
"r": "3"
}
]
]