Animated React component — PocketKnife / PocketKnifeIcon
Hover the pocket-knife icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { PocketKnife } from "lucide-motion";Also exported as PocketKnifeIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { PocketKnife } from "lucide-motion";
<PocketKnife 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": "M3 2v1c0 1 2 1 2 2S3 6 3 7s2 1 2 2-2 1-2 2 2 1 2 2"
}
],
[
"path",
{
"d": "M18 6h.01"
}
],
[
"path",
{
"d": "M6 18h.01"
}
],
[
"path",
{
"d": "M20.83 8.83a4 4 0 0 0-5.66-5.66l-12 12a4 4 0 1 0 5.66 5.66Z"
}
],
[
"path",
{
"d": "M18 11.66V22a4 4 0 0 0 4-4V6"
}
]
]