Animated React component — BookOpenText / BookOpenTextIcon
Hover the book-open-text icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { BookOpenText } from "lucide-motion";Also exported as BookOpenTextIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { BookOpenText } from "lucide-motion";
<BookOpenText 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 7v14"
}
],
[
"path",
{
"d": "M16 12h2"
}
],
[
"path",
{
"d": "M16 8h2"
}
],
[
"path",
{
"d": "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"
}
],
[
"path",
{
"d": "M6 12h2"
}
],
[
"path",
{
"d": "M6 8h2"
}
]
]