Animated React component — ScrollText / ScrollTextIcon
Hover the scroll-text icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { ScrollText } from "lucide-motion";Also exported as ScrollTextIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { ScrollText } from "lucide-motion";
<ScrollText 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 12h-5"
}
],
[
"path",
{
"d": "M15 8h-5"
}
],
[
"path",
{
"d": "M19 17V5a2 2 0 0 0-2-2H4"
}
],
[
"path",
{
"d": "M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3"
}
]
]