Animated React component — Gem / GemIcon
Hover the gem icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Gem } from "lucide-motion";Also exported as GemIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Gem } from "lucide-motion";
<Gem 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.5 3 8 9l4 13 4-13-2.5-6"
}
],
[
"path",
{
"d": "M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z"
}
],
[
"path",
{
"d": "M2 9h20"
}
]
]