Animated React component — LocateFixed / LocateFixedIcon
Hover the locate-fixed icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { LocateFixed } from "lucide-motion";Also exported as LocateFixedIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { LocateFixed } from "lucide-motion";
<LocateFixed 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.
[
[
"line",
{
"x1": "2",
"x2": "5",
"y1": "12",
"y2": "12"
}
],
[
"line",
{
"x1": "19",
"x2": "22",
"y1": "12",
"y2": "12"
}
],
[
"line",
{
"x1": "12",
"x2": "12",
"y1": "2",
"y2": "5"
}
],
[
"line",
{
"x1": "12",
"x2": "12",
"y1": "19",
"y2": "22"
}
],
[
"circle",
{
"cx": "12",
"cy": "12",
"r": "7"
}
],
[
"circle",
{
"cx": "12",
"cy": "12",
"r": "3"
}
]
]