Animated React component — BookSearch / BookSearchIcon
Hover the book-search icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { BookSearch } from "lucide-motion";Also exported as BookSearchIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { BookSearch } from "lucide-motion";
<BookSearch 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": "M11 22H5.5a1 1 0 0 1 0-5h4.501"
}
],
[
"path",
{
"d": "m21 22-1.879-1.878"
}
],
[
"path",
{
"d": "M3 19.5v-15A2.5 2.5 0 0 1 5.5 2H18a1 1 0 0 1 1 1v8"
}
],
[
"circle",
{
"cx": "17",
"cy": "18",
"r": "3"
}
]
]