Animated React component — Sailboat / SailboatIcon
Hover the sailboat icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Sailboat } from "lucide-motion";Also exported as SailboatIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Sailboat } from "lucide-motion";
<Sailboat 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": "M10 2v15"
}
],
[
"path",
{
"d": "M7 22a4 4 0 0 1-4-4 1 1 0 0 1 1-1h16a1 1 0 0 1 1 1 4 4 0 0 1-4 4z"
}
],
[
"path",
{
"d": "M9.159 2.46a1 1 0 0 1 1.521-.193l9.977 8.98A1 1 0 0 1 20 13H4a1 1 0 0 1-.824-1.567z"
}
]
]