Animated React component — MapPinned / MapPinnedIcon
Hover the map-pinned icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { MapPinned } from "lucide-motion";Also exported as MapPinnedIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { MapPinned } from "lucide-motion";
<MapPinned 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": "M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0"
}
],
[
"circle",
{
"cx": "12",
"cy": "8",
"r": "2"
}
],
[
"path",
{
"d": "M8.714 14h-3.71a1 1 0 0 0-.948.683l-2.004 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .948-1.316l-2-6a1 1 0 0 0-.949-.684h-3.712"
}
]
]