KQ-288 · SNOW/SHAKE
Snow Shake
A snow globe you shake by click or by drag, where the settling is the point: flakes lift off the drift, swirl on seeded paths, and come down staggered until the last one lands and the caption says so. Every flake's path is derived from its index, so the same shake happens for everyone — a snow globe with no randomness in it at all.
KQ-288 · SNOW/SHAKE
Install
One command — the source lands in your repo. Or copy it from the Code tab.
$ pnpm dlx shadcn@latest add @kinetiq/snow-shake
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| flakes | number | 14 | Flakes in the dome (6–24). |
| onSettle | () => void | — | Fires when the last flake lands. |