Animated React component — MailSearch / MailSearchIcon
Hover the mail-search icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { MailSearch } from "lucide-motion";Also exported as MailSearchIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { MailSearch } from "lucide-motion";
<MailSearch 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": "M22 12.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h7.5"
}
],
[
"path",
{
"d": "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"
}
],
[
"path",
{
"d": "M18 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"
}
],
[
"circle",
{
"cx": "18",
"cy": "18",
"r": "3"
}
],
[
"path",
{
"d": "m22 22-1.5-1.5"
}
]
]