Animated React component — UserCog / UserCogIcon
Hover the user-cog icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { UserCog } from "lucide-motion";Also exported as UserCogIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { UserCog } from "lucide-motion";
<UserCog 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 15H6a4 4 0 0 0-4 4v2"
}
],
[
"path",
{
"d": "m14.305 16.53.923-.382"
}
],
[
"path",
{
"d": "m15.228 13.852-.923-.383"
}
],
[
"path",
{
"d": "m16.852 12.228-.383-.923"
}
],
[
"path",
{
"d": "m16.852 17.772-.383.924"
}
],
[
"path",
{
"d": "m19.148 12.228.383-.923"
}
],
[
"path",
{
"d": "m19.53 18.696-.382-.924"
}
],
[
"path",
{
"d": "m20.772 13.852.924-.383"
}
],
[
"path",
{
"d": "m20.772 16.148.924.383"
}
],
[
"circle",
{
"cx": "18",
"cy": "15",
"r": "3"
}
],
[
"circle",
{
"cx": "9",
"cy": "7",
"r": "4"
}
]
]