Animated React component — MapPinPen / MapPinPenIcon
Hover the map-pin-pen icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { MapPinPen } from "lucide-motion";Also exported as MapPinPenIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { MapPinPen } from "lucide-motion";
<MapPinPen 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": "M17.97 9.304A8 8 0 0 0 2 10c0 4.69 4.887 9.562 7.022 11.468"
}
],
[
"path",
{
"d": "M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z"
}
],
[
"circle",
{
"cx": "10",
"cy": "10",
"r": "3"
}
]
]