Animated React component — Salad / SaladIcon
Hover the salad icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Salad } from "lucide-motion";Also exported as SaladIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Salad } from "lucide-motion";
<Salad 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": "M7 21h10"
}
],
[
"path",
{
"d": "M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z"
}
],
[
"path",
{
"d": "M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1"
}
],
[
"path",
{
"d": "m13 12 4-4"
}
],
[
"path",
{
"d": "M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2"
}
]
]