Tumbler alarm

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 phone on a warm studio-grey ground shows a plain white Alarm list: 07:30, 09:00 switched off, 22:30, switches and a tab bar. Exactly one element is mechanical. The pointer taps +, the Add Alarm sheet slides up and the list recedes behind it like a card. Its time picker is a brass module with four screws, engraved HOURS and MINUTES and a dark window where four tumblers turn between knurled strips. Three swipes spin them: each is a real CSS 3D cylinder of ten stamped brass faces that rolls with momentum, blurs at speed, overshoots and snaps onto its digit until the plate reads 06:45. Save drops the sheet, the new row grows into the list and its digits flash brass; a swipe left and Delete collapse it again. Every frame is a pure function of time: ?rec and window.__render(t) draw any moment for frame-exact video, and reduced motion gets one still.

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

  • alarm screen
  • time picker
  • combination lock
  • rolling tumblers
  • css 3d cylinder
  • motion blur
  • snap easing
  • bottom sheet
  • card presentation
  • alarm list
  • swipe to delete
  • toggle switches
  • tab bar
  • brass material
  • demo pointer
  • frame-exact recorder

stack

  • react
  • vite
  • typescript

fonts

Geist, Geist Mono

Free fonts, linked in the prompt.

colors

  • #E7E5E1
  • #FFFFFF
  • #000000
  • #FF9500
  • #C99A3C
  • #F3D58F
  • #140F09

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