Animated React component — IdCardLanyard / IdCardLanyardIcon
Hover the id-card-lanyard icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { IdCardLanyard } from "lucide-motion";Also exported as IdCardLanyardIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { IdCardLanyard } from "lucide-motion";
<IdCardLanyard 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": "M13.5 8h-3"
}
],
[
"path",
{
"d": "m15 2-1 2h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h3"
}
],
[
"path",
{
"d": "M16.899 22A5 5 0 0 0 7.1 22"
}
],
[
"path",
{
"d": "m9 2 3 6"
}
],
[
"circle",
{
"cx": "12",
"cy": "15",
"r": "3"
}
]
]