Animated React component — Save / SaveIcon
Hover the save icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Save } from "lucide-motion";Also exported as SaveIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Save } from "lucide-motion";
<Save 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.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"
}
],
[
"path",
{
"d": "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7"
}
],
[
"path",
{
"d": "M7 3v4a1 1 0 0 0 1 1h7"
}
]
]