Animated React component — SplinePointer / SplinePointerIcon
Hover the spline-pointer icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { SplinePointer } from "lucide-motion";Also exported as SplinePointerIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { SplinePointer } from "lucide-motion";
<SplinePointer 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.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z"
}
],
[
"path",
{
"d": "M5 17A12 12 0 0 1 17 5"
}
],
[
"circle",
{
"cx": "19",
"cy": "5",
"r": "2"
}
],
[
"circle",
{
"cx": "5",
"cy": "19",
"r": "2"
}
]
]