Animated React component — DnaOff / DnaOffIcon
Hover the dna-off icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { DnaOff } from "lucide-motion";Also exported as DnaOffIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { DnaOff } from "lucide-motion";
<DnaOff 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 2c-1.35 1.5-2.092 3-2.5 4.5L14 8"
}
],
[
"path",
{
"d": "m17 6-2.891-2.891"
}
],
[
"path",
{
"d": "M2 15c3.333-3 6.667-3 10-3"
}
],
[
"path",
{
"d": "m2 2 20 20"
}
],
[
"path",
{
"d": "m20 9 .891.891"
}
],
[
"path",
{
"d": "M22 9c-1.5 1.35-3 2.092-4.5 2.5l-1-1"
}
],
[
"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.35-1.5 2.092-3 2.5-4.5L10 16"
}
]
]