Animated React component — LayersMinus / LayersMinusIcon
Hover the layers-minus icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { LayersMinus } from "lucide-motion";Also exported as LayersMinusIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { LayersMinus } from "lucide-motion";
<LayersMinus 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.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 .83.18 2 2 0 0 0 .83-.18l8.58-3.9a1 1 0 0 0 0-1.832z"
}
],
[
"path",
{
"d": "M16 17h6"
}
],
[
"path",
{
"d": "M2.003 11.995a1 1 0 0 0 .597.915l8.58 3.91a2 2 0 0 0 .83.18"
}
],
[
"path",
{
"d": "M2.003 16.995a1 1 0 0 0 .597.915l8.58 3.91a2 2 0 0 0 .83.18 2 2 0 0 0 .83-.18l2.11-.96"
}
],
[
"path",
{
"d": "M22.018 12.004a1 1 0 0 1-.598.916l-.177.08"
}
]
]