Animated React component — ImageOff / ImageOffIcon
Hover the image-off icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { ImageOff } from "lucide-motion";Also exported as ImageOffIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { ImageOff } from "lucide-motion";
<ImageOff 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.
[
[
"line",
{
"x1": "2",
"x2": "22",
"y1": "2",
"y2": "22"
}
],
[
"path",
{
"d": "M10.41 10.41a2 2 0 1 1-2.83-2.83"
}
],
[
"line",
{
"x1": "13.5",
"x2": "6",
"y1": "13.5",
"y2": "21"
}
],
[
"line",
{
"x1": "18",
"x2": "21",
"y1": "12",
"y2": "15"
}
],
[
"path",
{
"d": "M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59"
}
],
[
"path",
{
"d": "M21 15V5a2 2 0 0 0-2-2H9"
}
]
]