Animated React component — LibraryBig / LibraryBigIcon
Hover the library-big icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { LibraryBig } from "lucide-motion";Also exported as LibraryBigIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { LibraryBig } from "lucide-motion";
<LibraryBig 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.
[
[
"rect",
{
"width": "8",
"height": "18",
"x": "3",
"y": "3",
"rx": "1"
}
],
[
"path",
{
"d": "M7 3v18"
}
],
[
"path",
{
"d": "M20.4 18.9c.2.5-.1 1.1-.6 1.3l-1.9.7c-.5.2-1.1-.1-1.3-.6L11.1 5.1c-.2-.5.1-1.1.6-1.3l1.9-.7c.5-.2 1.1.1 1.3.6Z"
}
]
]