Animated React component — UserLock / UserLockIcon
Hover the user-lock icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { UserLock } from "lucide-motion";Also exported as UserLockIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { UserLock } from "lucide-motion";
<UserLock 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": "M19 16v-2a2 2 0 0 0-4 0v2"
}
],
[
"path",
{
"d": "M9.5 15H7a4 4 0 0 0-4 4v2"
}
],
[
"circle",
{
"cx": "10",
"cy": "7",
"r": "4"
}
],
[
"rect",
{
"x": "13",
"y": "16",
"width": "8",
"height": "5",
"rx": ".899"
}
]
]