Animated React component — CloudMoon / CloudMoonIcon
Hover the cloud-moon icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { CloudMoon } from "lucide-motion";Also exported as CloudMoonIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { CloudMoon } from "lucide-motion";
<CloudMoon 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": "M13 16a3 3 0 0 1 0 6H7a5 5 0 1 1 4.9-6z"
}
],
[
"path",
{
"d": "M18.376 14.512a6 6 0 0 0 3.461-4.127c.148-.625-.659-.97-1.248-.714a4 4 0 0 1-5.259-5.26c.255-.589-.09-1.395-.716-1.248a6 6 0 0 0-4.594 5.36"
}
]
]