Animated React component — BusFront / BusFrontIcon
Hover the bus-front icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { BusFront } from "lucide-motion";Also exported as BusFrontIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { BusFront } from "lucide-motion";
<BusFront 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 6 2 7"
}
],
[
"path",
{
"d": "M10 6h4"
}
],
[
"path",
{
"d": "m22 7-2-1"
}
],
[
"rect",
{
"width": "16",
"height": "16",
"x": "4",
"y": "3",
"rx": "2"
}
],
[
"path",
{
"d": "M4 11h16"
}
],
[
"path",
{
"d": "M8 15h.01"
}
],
[
"path",
{
"d": "M16 15h.01"
}
],
[
"path",
{
"d": "M6 19v2"
}
],
[
"path",
{
"d": "M18 21v-2"
}
]
]