Animated React component — MemoryStick / MemoryStickIcon
Hover the memory-stick icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { MemoryStick } from "lucide-motion";Also exported as MemoryStickIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { MemoryStick } from "lucide-motion";
<MemoryStick 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 12v-2"
}
],
[
"path",
{
"d": "M12 18v-2"
}
],
[
"path",
{
"d": "M16 12v-2"
}
],
[
"path",
{
"d": "M16 18v-2"
}
],
[
"path",
{
"d": "M2 11h1.5"
}
],
[
"path",
{
"d": "M20 18v-2"
}
],
[
"path",
{
"d": "M20.5 11H22"
}
],
[
"path",
{
"d": "M4 18v-2"
}
],
[
"path",
{
"d": "M8 12v-2"
}
],
[
"path",
{
"d": "M8 18v-2"
}
],
[
"rect",
{
"x": "2",
"y": "6",
"width": "20",
"height": "10",
"rx": "2"
}
]
]