World Clock
AI UI component · a prompt for Claude, Codex and Cursor
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.
A world clock widget built from split-flap cards: six big JetBrains Mono digits, hh : mm : ss, sit in a sunken well under the city's name, its date and country, with a UTC pill whose status light pulses. Below, city tabs for Moscow, London, New York, Tokyo, Mumbai and Sydney carry a capsule that slides to the chosen city and fills with a thin progress bar, and a badge shows a sun or a crescent with DAY or NIGHT. It shows the real local time in each city from the browser's clock and time zones, daylight saving included. When the city changes, each card turns through every character on its way to the new digit, left to right, 65 ms apart, the last flip landing with a small bounce, while the name and date slide like a board, the UTC offset scrambles into place and the day and night icons swap. The seconds tick one flap at a time and the colons flash on every second. On its own it tours the cities every 3.2 s and cross-fades through four looks: graphite dark, white and grey light, warm paper beige, and a mixed one with a stone shell around a dark mechanism and an orange accent. A click on a tab, or the arrow keys, picks a city, and the tour carries on 12 s later. Every flap is drawn in perspective with an exact matrix3d. ?render and window.__render(t) play the frame-exact 26-second loop of the original, and reduced motion keeps the real time without the motion.
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
- world clock
- split-flap display
- flip clock
- time zones
- real local time
- city tabs
- sliding capsule
- progress bar
- day and night badge
- status light
- text scramble
- departures board
- perspective flip
- matrix3d
- theme cross-fade
- four looks
- widget
- keyboard tabs
- frame-exact recorder
stack
- react
- vite
- typescript
fonts
Inter, JetBrains Mono
Free fonts, linked in the prompt.
colors
- #1B1B1E
- #232326
- #343438
- #EEEEF0
- #6EEBA0
- #F4F4F6
- #F8F2E7
- #FF7828
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

