A paper lantern that turns and sways with a flickering light inside. The paper is see-through, so you see the far side and the glow. Hover to pause.
Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| size | number | 220 | Lantern height in px. |
| mark | string | "福" | Character shown on the four gold plaques. |
| hue | number | 2 | Paper hue: 0 is red, 40 is amber. |
| className | string | Extra classes added to the outer element. |