Animated React component — Dna / DnaIcon
Hover the dna icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Dna } from "lucide-motion";Also exported as DnaIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Dna } from "lucide-motion";
<Dna 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 16 1.5 1.5"
}
],
[
"path",
{
"d": "m14 8-1.5-1.5"
}
],
[
"path",
{
"d": "M15 2c-1.798 1.998-2.518 3.995-2.807 5.993"
}
],
[
"path",
{
"d": "m16.5 10.5 1 1"
}
],
[
"path",
{
"d": "m17 6-2.891-2.891"
}
],
[
"path",
{
"d": "M2 15c6.667-6 13.333 0 20-6"
}
],
[
"path",
{
"d": "m20 9 .891.891"
}
],
[
"path",
{
"d": "M3.109 14.109 4 15"
}
],
[
"path",
{
"d": "m6.5 12.5 1 1"
}
],
[
"path",
{
"d": "m7 18 2.891 2.891"
}
],
[
"path",
{
"d": "M9 22c1.798-1.998 2.518-3.995 2.807-5.993"
}
]
]