Animated React component — Beer / BeerIcon
Hover the beer icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Beer } from "lucide-motion";Also exported as BeerIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Beer } from "lucide-motion";
<Beer 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": "M17 11h1a3 3 0 0 1 0 6h-1"
}
],
[
"path",
{
"d": "M9 12v6"
}
],
[
"path",
{
"d": "M13 12v6"
}
],
[
"path",
{
"d": "M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z"
}
],
[
"path",
{
"d": "M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8"
}
]
]