Animated React component — CalendarCog / CalendarCogIcon
Hover the calendar-cog icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { CalendarCog } from "lucide-motion";Also exported as CalendarCogIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { CalendarCog } from "lucide-motion";
<CalendarCog 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": "m15.228 16.852-.923-.383"
}
],
[
"path",
{
"d": "m15.228 19.148-.923.383"
}
],
[
"path",
{
"d": "M16 2v4"
}
],
[
"path",
{
"d": "m16.47 14.305.382.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"
}
],
[
"path",
{
"d": "M21 10.592V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6"
}
],
[
"path",
{
"d": "M3 10h18"
}
],
[
"path",
{
"d": "M8 2v4"
}
],
[
"circle",
{
"cx": "18",
"cy": "18",
"r": "3"
}
]
]