Animated React component — UserPen / UserPenIcon
Hover the user-pen icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { UserPen } from "lucide-motion";Also exported as UserPenIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { UserPen } from "lucide-motion";
<UserPen 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": "M11.5 15H7a4 4 0 0 0-4 4v2"
}
],
[
"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": "7",
"r": "4"
}
]
]