Animated React component — Drum / DrumIcon
Hover the drum icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Drum } from "lucide-motion";Also exported as DrumIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Drum } from "lucide-motion";
<Drum 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": "m2 2 8 8"
}
],
[
"path",
{
"d": "m22 2-8 8"
}
],
[
"ellipse",
{
"cx": "12",
"cy": "9",
"rx": "10",
"ry": "5"
}
],
[
"path",
{
"d": "M7 13.4v7.9"
}
],
[
"path",
{
"d": "M12 14v8"
}
],
[
"path",
{
"d": "M17 13.4v7.9"
}
],
[
"path",
{
"d": "M2 9v8a10 5 0 0 0 20 0V9"
}
]
]