Animated React component — PackageSearch / PackageSearchIcon
Hover the package-search icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { PackageSearch } from "lucide-motion";Also exported as PackageSearchIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { PackageSearch } from "lucide-motion";
<PackageSearch 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": "M12 22V12"
}
],
[
"path",
{
"d": "M20.27 18.27 22 20"
}
],
[
"path",
{
"d": "M21 10.498V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l.98-.559"
}
],
[
"path",
{
"d": "M3.29 7 12 12l8.71-5"
}
],
[
"path",
{
"d": "m7.5 4.27 8.997 5.148"
}
],
[
"circle",
{
"cx": "18.5",
"cy": "16.5",
"r": "2.5"
}
]
]