Animated React component — PaintBucket / PaintBucketIcon
Hover the paint-bucket icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { PaintBucket } from "lucide-motion";Also exported as PaintBucketIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { PaintBucket } from "lucide-motion";
<PaintBucket 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": "M11 7 6 2"
}
],
[
"path",
{
"d": "M18.992 12H2.041"
}
],
[
"path",
{
"d": "M21.145 18.38A3.34 3.34 0 0 1 20 16.5a3.3 3.3 0 0 1-1.145 1.88c-.575.46-.855 1.02-.855 1.595A2 2 0 0 0 20 22a2 2 0 0 0 2-2.025c0-.58-.285-1.13-.855-1.595"
}
],
[
"path",
{
"d": "m8.5 4.5 2.148-2.148a1.205 1.205 0 0 1 1.704 0l7.296 7.296a1.205 1.205 0 0 1 0 1.704l-7.592 7.592a3.615 3.615 0 0 1-5.112 0l-3.888-3.888a3.615 3.615 0 0 1 0-5.112L5.67 7.33"
}
]
]