Animated React component — Shrink / ShrinkIcon
Hover the shrink icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Shrink } from "lucide-motion";Also exported as ShrinkIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Shrink } from "lucide-motion";
<Shrink 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": "m15 15 6 6m-6-6v4.8m0-4.8h4.8"
}
],
[
"path",
{
"d": "M9 19.8V15m0 0H4.2M9 15l-6 6"
}
],
[
"path",
{
"d": "M15 4.2V9m0 0h4.8M15 9l6-6"
}
],
[
"path",
{
"d": "M9 4.2V9m0 0H4.2M9 9 3 3"
}
]
]