Animated React component — HeartOff / HeartOffIcon
Hover the heart-off icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { HeartOff } from "lucide-motion";Also exported as HeartOffIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { HeartOff } from "lucide-motion";
<HeartOff 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.5 4.893a5.5 5.5 0 0 1 1.091.931.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 1.872-1.002 3.356-2.187 4.655"
}
],
[
"path",
{
"d": "m16.967 16.967-3.459 3.346a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 2.747-4.761"
}
],
[
"path",
{
"d": "m2 2 20 20"
}
]
]