Lantern

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.

Lantern3D props

PropTypeDefaultDescription
sizenumber220Lantern height in px.
markstring"福"Character shown on the four gold plaques.
huenumber2Paper hue: 0 is red, 40 is amber.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks