Animated React component — Car / CarIcon
Hover the car icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Car } from "lucide-motion";Also exported as CarIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Car } from "lucide-motion";
<Car 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": "M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2"
}
],
[
"circle",
{
"cx": "7",
"cy": "17",
"r": "2"
}
],
[
"path",
{
"d": "M9 17h6"
}
],
[
"circle",
{
"cx": "17",
"cy": "17",
"r": "2"
}
]
]