Animated React component — BugPlay / BugPlayIcon
Hover the bug-play icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { BugPlay } from "lucide-motion";Also exported as BugPlayIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { BugPlay } from "lucide-motion";
<BugPlay 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 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97"
}
],
[
"path",
{
"d": "M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z"
}
],
[
"path",
{
"d": "M14.12 3.88 16 2"
}
],
[
"path",
{
"d": "M21 5a4 4 0 0 1-3.55 3.97"
}
],
[
"path",
{
"d": "M3 21a4 4 0 0 1 3.81-4"
}
],
[
"path",
{
"d": "M3 5a4 4 0 0 0 3.55 3.97"
}
],
[
"path",
{
"d": "M6 13H2"
}
],
[
"path",
{
"d": "m8 2 1.88 1.88"
}
],
[
"path",
{
"d": "M9 7.13V6a3 3 0 1 1 6 0v1.13"
}
]
]