Animated React component — Shuffle / ShuffleIcon
Hover the shuffle icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Shuffle } from "lucide-motion";Also exported as ShuffleIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Shuffle } from "lucide-motion";
<Shuffle 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": "m18 14 4 4-4 4"
}
],
[
"path",
{
"d": "m18 2 4 4-4 4"
}
],
[
"path",
{
"d": "M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22"
}
],
[
"path",
{
"d": "M2 6h1.972a4 4 0 0 1 3.6 2.2"
}
],
[
"path",
{
"d": "M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45"
}
]
]