Animated React component — Citrus / CitrusIcon
Hover the citrus icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Citrus } from "lucide-motion";Also exported as CitrusIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Citrus } from "lucide-motion";
<Citrus 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": "M21.66 17.67a1.08 1.08 0 0 1-.04 1.6A12 12 0 0 1 4.73 2.38a1.1 1.1 0 0 1 1.61-.04z"
}
],
[
"path",
{
"d": "M19.65 15.66A8 8 0 0 1 8.35 4.34"
}
],
[
"path",
{
"d": "m14 10-5.5 5.5"
}
],
[
"path",
{
"d": "M14 17.85V10H6.15"
}
]
]