Animated React component — PencilOff / PencilOffIcon
Hover the pencil-off icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { PencilOff } from "lucide-motion";Also exported as PencilOffIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { PencilOff } from "lucide-motion";
<PencilOff 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": "m10 10-6.157 6.162a2 2 0 0 0-.5.833l-1.322 4.36a.5.5 0 0 0 .622.624l4.358-1.323a2 2 0 0 0 .83-.5L14 13.982"
}
],
[
"path",
{
"d": "m12.829 7.172 4.359-4.346a1 1 0 1 1 3.986 3.986l-4.353 4.353"
}
],
[
"path",
{
"d": "m15 5 4 4"
}
],
[
"path",
{
"d": "m2 2 20 20"
}
]
]