Snow-Globe Hero

Motion Components · Vol. 2

Component

Snow-Globe Hero

A real-time three.js snow globe: 1,700 physics flakes in a glass sphere. Shake it, drag it or click it, and when the blizzard settles the product glows into view.

Variants

Sizes and states, all built from the same markup.

Small card (timer-driven)
Default card
Disabled

Usage

Paste the markup, include assets/css/tokens.css and assets/css/tailwind.css, then run the script from this page.

Accessibility