Animated React component — Shapes / ShapesIcon
Hover the shapes icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Shapes } from "lucide-motion";Also exported as ShapesIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Shapes } from "lucide-motion";
<Shapes 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": "M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z"
}
],
[
"rect",
{
"x": "3",
"y": "14",
"width": "7",
"height": "7",
"rx": "1"
}
],
[
"circle",
{
"cx": "17.5",
"cy": "17.5",
"r": "3.5"
}
]
]