Animated React component — Ship / ShipIcon
Hover the ship icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Ship } from "lucide-motion";Also exported as ShipIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Ship } from "lucide-motion";
<Ship 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 10.189V14"
}
],
[
"path",
{
"d": "M12 2v3"
}
],
[
"path",
{
"d": "M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6"
}
],
[
"path",
{
"d": "M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76"
}
],
[
"path",
{
"d": "M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1"
}
]
]