Six Interactions

AI UI component · a prompt for Claude, Codex and Cursor

free

The prompt is free with an account: sign up with Google or email, and your copy starts right after. The project and Figma file come with monthly or yearly.

Six warm-grey cards with white panels sit three across and two down. A cursor demos them in turn: it drags a payment knob along its track until the ink fill takes over, a progress ring fills and the knob turns green ("Sent to Mira"); types a wrong six-digit code that shakes red and clears, then the right one, and the cells gather into a green Verified tick; flips Monthly to Yearly so the pill slides, "Save 20%" pops and the price rolls on an odometer from $12.00 to $9.60; drags a PDF chip in an arc into a dashed drop zone, where an upload row fills and ticks green; fans out a stack of three notifications and swipes the middle one away over a red Clear; and taps Track order, so the route draws across a street map, a courier drives it while the ETA counts down and four steps fill to "Delivered · enjoy". Touch any card and the board is yours: each interaction works by hand with the mouse or a finger, and the code card brings up a phone's number pad; after 9 s idle the demo starts again. Inter Tight and JetBrains Mono, inline SVG, one GSAP timeline over a flat state drawn each frame, so ?rec and window.__render(t) record any moment exactly; reduced motion gets one still and phones get a two-across board. Its own sound ships as a bonus file, in sync from t = 0.

what you get

prompt
Paste it into Claude, Codex, Kimi or Cursor to rebuild this template. Tested: we rebuild every template from its prompt before it goes live.
project
The Vite + React source code as a .zip, ready to run.
figma file
The editable design as a .fig file to import into Figma.

what's inside

  • slide to pay
  • swipe button
  • progress ring
  • one-time code
  • otp input
  • error shake
  • success tick
  • billing toggle
  • segmented control
  • odometer numbers
  • pricing card
  • drag and drop
  • file upload
  • upload progress
  • notification stack
  • swipe to dismiss
  • delivery tracking
  • route map
  • eta countdown
  • step progress
  • scripted cursor
  • autoplay demo
  • sound
  • frame-exact recorder

stack

  • react
  • vite
  • typescript
  • gsap
  • svg

fonts

Inter Tight, JetBrains Mono

Free fonts, linked in the prompt.

colors

  • #E9E8E4
  • #F4F3EF
  • #FFFFFF
  • #141414
  • #3DDC84
  • #FF5A36

license

Free account: personal use only. Monthly or yearly adds commercial and client work. Don't resell or share the template, prompt or files.

read the license