Stack Tower
The stacking game as a climb to orbit: glass slabs, a ghost guide, perfect-drop combos with rising chimes, and a sky that travels from dusk city to space.
- Zero dependencies
- React + Tailwind
- Accessible
- Reduced-motion aware
Preview
Animated · Full motion: idle animation, physics and effects. animated (default)
Tap to drop; the overhang is sliced off and tumbles away. Perfect drops chain rings, sparks and a pentatonic chime that climbs with the combo, and a 3-streak grows the slab back. Every 10 floors is an altitude milestone (City → Clouds → Stratosphere → Orbit). When the tower falls, the camera pulls back to show everything you built. High score saved; optional sound and haptics.
Installation
$ npm i @pickui/stack-tower
Publishing soonUntil it’s on npm, use the CLI or Manual tab. The API below stays the same.
Usage
example.tsx
import { StackTower } from "@/components/pickui/stack-tower";
export default function Example() {
return <StackTower />;
}
404 & maintenance pagesWaiting screensGamified landing pagesEvent stands
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| storageKey | string | null | "pickui-stack-best" | High-score key. |
| sound | boolean | false | Start with sound on (toggle in the corner). |
| animated | boolean | true | false = no debris, camera ease or particles. |
Accessibility
- The game area is focusable: Space / Enter drop the slab; the floor count is a live region.
- Reduced motion: no camera easing, debris or particles. Sound is off by default.