Snow globe

A glass globe with a tiny village. Shake it and the snow whirls up and settles. The globe tilts with your pointer.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

SnowGlobe3D props

PropTypeDefaultDescription
sizenumber230Globe diameter in px.
flakesnumber46Number of snowflakes falling inside the globe.
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