Thinking UI

Line MorphPRO

One continuous line that redraws itself into a different figure for every agent action.

Code

2 files · 296 lines of TypeScriptPRO

Line Morph is part of Pro

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

Motion notes

  • Nine figures drawn by the same 160 points: rose (thinking), Lissajous loop (listening), rippling circle (speaking), sweeping spiral (searching), flowing infinity (working), zig-zag route (planning), cube (building), star polygon (solving) and spirograph (processing).
  • Switching action snapshots the line and eases every point to its place in the next figure, staggered outward from the seam, so the line redraws in a wave instead of snapping.
  • Open figures and retraced edges are hidden stretches of the same closed line, so a route or a cube's twelve edges morph as smoothly as a circle.
  • A highlight always runs along the line, and 3D figures fade with depth. It only animates on screen; with reduced motion it shows a still figure and switches without the morph.

Usage

Example
<StatusPill icon={<LineMorph action={step.action} size={32} />} label={step.label} />

Props

PropTypeDefaultDescription
action"thinking" | "listening" | "speaking" | "searching" | "working" | "planning" | "building" | "solving" | "processing"—What the agent is doing.
sizenumber32Size in px.
classNamestring—Classes for the canvas.