Animated React component — Lightbulb / LightbulbIcon
Hover the lightbulb icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Lightbulb } from "lucide-motion";Also exported as LightbulbIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Lightbulb } from "lucide-motion";
<Lightbulb 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 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5"
}
],
[
"path",
{
"d": "M9 18h6"
}
],
[
"path",
{
"d": "M10 22h4"
}
]
]