Animated React component — Pizza / PizzaIcon
Hover the pizza icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Pizza } from "lucide-motion";Also exported as PizzaIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Pizza } from "lucide-motion";
<Pizza 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": "m12 14-1 1"
}
],
[
"path",
{
"d": "m13.75 18.25-1.25 1.42"
}
],
[
"path",
{
"d": "M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12"
}
],
[
"path",
{
"d": "M18.8 9.3a1 1 0 0 0 2.1 7.7"
}
],
[
"path",
{
"d": "M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z"
}
]
]