Thinking UI

TangramPRO

Seven outlined tangram shards drift, turn and slide until they lock into a square with a soft flash, hold, then scatter, for when the agent is solving.

Code

2 files · 162 lines of TypeScriptPRO

Tangram is part of Pro

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

Motion notes

  • The classic seven-piece dissection, stroked with the faintest glass fill. Each piece turns into alignment a little ahead of sliding home, so it reads as fitting, not teleporting.
  • Pieces arrive one at a time in a different order every solve; loose ones float gently, locked ones are perfectly still. On lock the square flashes, a band of light sweeps across its seams and the outline glows as one shape.
  • The scatter is a quick ease-out burst to a fresh arrangement, so the loop never looks like it rewinds. Scatter distances are capped per piece so every shard stays in frame.
  • Reduced motion shows the solved square.

Usage

Example
<StatusPill icon={<Tangram size={32} />} label="Solving" />

Props

PropTypeDefaultDescription
sizenumber32Size in px.
cyclenumber4.4Seconds per solve: assemble, lock, hold, scatter.
classNamestring—Classes for the canvas.