clock modes

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

pro

Get the prompt, project and Figma file with monthly ($29 a month) or yearly ($249 a year). Plus tax where it applies.

A dark, bevelled watch face on a pale ground, drawn on one canvas, that changes mode in a 12-second loop. It starts analogue at 10:08 with an orange seconds hand sweeping a comet trail, and the minute hand jumps to 10:09 with a tiny overshoot. The hands fold up to 12 and the numerals fade into a stopwatch: an orange arc with a glowing head runs to 70% of the turn, lighting the ticks under it, while the counter runs to 41.27 under "LAP 03". Then a seven-segment 10:08 builds in segment by segment with a blinking orange colon, the date and a dot running round the track, and the hands grow back out of the centre. Film grain and a glass sheen on the dial, soft hand shadows, Inter Tight. Space pauses, R restarts; a ?rec mode and window.__render(t) draw any moment for frame-exact video. Reduced motion shows one still. No libraries besides React, runs offline.

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

  • watch face
  • analog clock
  • stopwatch
  • digital clock
  • seven-segment digits
  • progress arc
  • mode morph
  • canvas 2d
  • film grain
  • seamless loop
  • frame-exact recorder

stack

  • react
  • vite
  • typescript

fonts

Inter Tight

Free fonts, linked in the prompt.

colors

  • #EBEBE8
  • #3A3A3D
  • #18181A
  • #0E0E10
  • #EDEDE8
  • #F1F1EC
  • #FF6A1A
  • #FFD2B8

license

With monthly or yearly: personal and commercial work, client projects included. Don't resell or share the template, prompt or files.

read the license