Animated React component — Milk / MilkIcon
Hover the milk icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Milk } from "lucide-motion";Also exported as MilkIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Milk } from "lucide-motion";
<Milk 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 2v2.789a4 4 0 0 1-.672 2.219l-.656.984A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-9.789a4 4 0 0 0-.672-2.219l-.656-.984A4 4 0 0 1 15 4.788V2"
}
],
[
"path",
{
"d": "M7 15a6.472 6.472 0 0 1 5 0 6.47 6.47 0 0 0 5 0"
}
]
]