Animated React component — Sandwich / SandwichIcon
Hover the sandwich icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Sandwich } from "lucide-motion";Also exported as SandwichIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Sandwich } from "lucide-motion";
<Sandwich 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.37 11.223 8.372-6.777a2 2 0 0 1 2.516 0l8.371 6.777"
}
],
[
"path",
{
"d": "M21 15a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-5.25"
}
],
[
"path",
{
"d": "M3 15a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h9"
}
],
[
"path",
{
"d": "m6.67 15 6.13 4.6a2 2 0 0 0 2.8-.4l3.15-4.2"
}
],
[
"rect",
{
"width": "20",
"height": "4",
"x": "2",
"y": "11",
"rx": "1"
}
]
]