Animated React component — Atom / AtomIcon
Hover the atom icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Atom } from "lucide-motion";Also exported as AtomIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Atom } from "lucide-motion";
<Atom 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.
[
[
"circle",
{
"cx": "12",
"cy": "12",
"r": "1"
}
],
[
"path",
{
"d": "M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z"
}
],
[
"path",
{
"d": "M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z"
}
]
]