Animated React component — Turtle / TurtleIcon
Hover the turtle icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Turtle } from "lucide-motion";Also exported as TurtleIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Turtle } from "lucide-motion";
<Turtle 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 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a8 8 0 1 0-16 0v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3l2-4h4Z"
}
],
[
"path",
{
"d": "M4.82 7.9 8 10"
}
],
[
"path",
{
"d": "M15.18 7.9 12 10"
}
],
[
"path",
{
"d": "M16.93 10H20a2 2 0 0 1 0 4H2"
}
]
]