Animated React component — Popcorn / PopcornIcon
Hover the popcorn icon above to see the default draw animation.
Tree-shakable named import — only the icons you reference end up in your bundle.
import { Popcorn } from "lucide-motion";Also exported as PopcornIcon for the Lucide-suffix naming convention.
Drop the component into your JSX. The default trigger plays the draw animation on hover.
import { Popcorn } from "lucide-motion";
<Popcorn 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 8a2 2 0 0 0 0-4 2 2 0 0 0-4 0 2 2 0 0 0-4 0 2 2 0 0 0-4 0 2 2 0 0 0 0 4"
}
],
[
"path",
{
"d": "M10 22 9 8"
}
],
[
"path",
{
"d": "m14 22 1-14"
}
],
[
"path",
{
"d": "M20 8c.5 0 .9.4.8 1l-2.6 12c-.1.5-.7 1-1.2 1H7c-.6 0-1.1-.4-1.2-1L3.2 9c-.1-.6.3-1 .8-1Z"
}
]
]