Animated React component — Timeline / TimelineIcon
Hover the timeline icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Timeline } from "lucide-motion";Also exported as TimelineIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Timeline } from "lucide-motion";
<Timeline 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": "M4 12h.01"
}
],
[
"path",
{
"d": "M4 16h.01"
}
],
[
"path",
{
"d": "M4 20h.01"
}
],
[
"path",
{
"d": "M4 4h.01"
}
],
[
"path",
{
"d": "M4 8h.01"
}
],
[
"path",
{
"d": "M9.414 13.414a2 2 0 0 0 1.414.586H19a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-8.172a2 2 0 0 0-1.414.586L8 12z"
}
],
[
"path",
{
"d": "M9.414 21.414a2 2 0 0 0 1.414.586H19a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-8.172a2 2 0 0 0-1.414.586L8 20z"
}
],
[
"path",
{
"d": "M9.414 5.414A2 2 0 0 0 10.828 6H19a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1h-8.172a2 2 0 0 0-1.414.586L8 4z"
}
]
]