Thinking UI

Building CubePRO

A dotted cube that assembles layer by layer while it turns, then rebuilds.

Code

2 files · 60 lines of TypeScriptPRO

Building Cube is part of Pro

Get its source, the one-paste agent prompt and all 113 components, for a one-time $99.

Motion notes

  • Dots drop into their slots one layer at a time, bottom to top, with a short ease-out each: construction you can follow.
  • The finished cube holds for a beat, then fades out to restart, so the loop never looks like it rewinds.
  • Dots are depth-sorted every frame so nearer ones overlap farther ones as the cube turns.

Usage

Example
<StatusPill icon={<BuildingCube size={32} />} label="Building" />

Props

PropTypeDefaultDescription
sizenumber32Size in px.
gridnumber5Dots per cube edge.
cyclenumber3.6Seconds per build.
classNamestring—Classes for the canvas.