Animated React component — Unplug / UnplugIcon
Hover the unplug icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Unplug } from "lucide-motion";Also exported as UnplugIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Unplug } from "lucide-motion";
<Unplug 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": "m19 5 3-3"
}
],
[
"path",
{
"d": "m2 22 3-3"
}
],
[
"path",
{
"d": "M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z"
}
],
[
"path",
{
"d": "M7.5 13.5 10 11"
}
],
[
"path",
{
"d": "M10.5 16.5 13 14"
}
],
[
"path",
{
"d": "m12 6 6 6 2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z"
}
]
]