Animated React component — MonitorCog / MonitorCogIcon
Hover the monitor-cog icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { MonitorCog } from "lucide-motion";Also exported as MonitorCogIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { MonitorCog } from "lucide-motion";
<MonitorCog 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": "M12 17v4"
}
],
[
"path",
{
"d": "m14.305 7.53.923-.382"
}
],
[
"path",
{
"d": "m15.228 4.852-.923-.383"
}
],
[
"path",
{
"d": "m16.852 3.228-.383-.924"
}
],
[
"path",
{
"d": "m16.852 8.772-.383.923"
}
],
[
"path",
{
"d": "m19.148 3.228.383-.924"
}
],
[
"path",
{
"d": "m19.53 9.696-.382-.924"
}
],
[
"path",
{
"d": "m20.772 4.852.924-.383"
}
],
[
"path",
{
"d": "m20.772 7.148.924.383"
}
],
[
"path",
{
"d": "M22 13v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7"
}
],
[
"path",
{
"d": "M8 21h8"
}
],
[
"circle",
{
"cx": "18",
"cy": "6",
"r": "3"
}
]
]