Animated React component — ChessQueen / ChessQueenIcon
Hover the chess-queen icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { ChessQueen } from "lucide-motion";Also exported as ChessQueenIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { ChessQueen } from "lucide-motion";
<ChessQueen 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": "M4 20a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z"
}
],
[
"path",
{
"d": "m12.474 5.943 1.567 5.34a1 1 0 0 0 1.75.328l2.616-3.402"
}
],
[
"path",
{
"d": "m20 9-3 9"
}
],
[
"path",
{
"d": "m5.594 8.209 2.615 3.403a1 1 0 0 0 1.75-.329l1.567-5.34"
}
],
[
"path",
{
"d": "M7 18 4 9"
}
],
[
"circle",
{
"cx": "12",
"cy": "4",
"r": "2"
}
],
[
"circle",
{
"cx": "20",
"cy": "7",
"r": "2"
}
],
[
"circle",
{
"cx": "4",
"cy": "7",
"r": "2"
}
]
]