Animated React component — FolderCog / FolderCogIcon
Hover the folder-cog icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { FolderCog } from "lucide-motion";Also exported as FolderCogIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { FolderCog } from "lucide-motion";
<FolderCog 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.3 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.98a2 2 0 0 1 1.69.9l.66 1.2A2 2 0 0 0 12 6h8a2 2 0 0 1 2 2v3.3"
}
],
[
"path",
{
"d": "m14.305 19.53.923-.382"
}
],
[
"path",
{
"d": "m15.228 16.852-.923-.383"
}
],
[
"path",
{
"d": "m16.852 15.228-.383-.923"
}
],
[
"path",
{
"d": "m16.852 20.772-.383.924"
}
],
[
"path",
{
"d": "m19.148 15.228.383-.923"
}
],
[
"path",
{
"d": "m19.53 21.696-.382-.924"
}
],
[
"path",
{
"d": "m20.772 16.852.924-.383"
}
],
[
"path",
{
"d": "m20.772 19.148.924.383"
}
],
[
"circle",
{
"cx": "18",
"cy": "18",
"r": "3"
}
]
]