Animated React component — ZapOff / ZapOffIcon
Hover the zap-off icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { ZapOff } from "lucide-motion";Also exported as ZapOffIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { ZapOff } from "lucide-motion";
<ZapOff 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.513 4.856 13.12 2.17a.5.5 0 0 1 .86.46l-1.377 4.317"
}
],
[
"path",
{
"d": "M15.656 10H20a1 1 0 0 1 .78 1.63l-1.72 1.773"
}
],
[
"path",
{
"d": "M16.273 16.273 10.88 21.83a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14H4a1 1 0 0 1-.78-1.63l4.507-4.643"
}
],
[
"path",
{
"d": "m2 2 20 20"
}
]
]