Animated React component — MilkOff / MilkOffIcon
Hover the milk-off icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { MilkOff } from "lucide-motion";Also exported as MilkOffIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { MilkOff } from "lucide-motion";
<MilkOff 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": "M8 2h8"
}
],
[
"path",
{
"d": "M9 2v1.343M15 2v2.789a4 4 0 0 0 .672 2.219l.656.984a4 4 0 0 1 .672 2.22v1.131M7.8 7.8l-.128.192A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-3"
}
],
[
"path",
{
"d": "M7 15a6.47 6.47 0 0 1 5 0 6.472 6.472 0 0 0 3.435.435"
}
],
[
"line",
{
"x1": "2",
"x2": "22",
"y1": "2",
"y2": "22"
}
]
]