Smart date

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.

A date and time chip in dark smoked glass on a soft grey studio ground, with blurred dark shapes drifting behind it and film grain over all. Closed, it is one pill: a calendar icon, Fri, 12 Dec in Urbanist and the time 19:30 as a 5 × 7 matrix of round dots, with a pencil button. Click the pencil and the pill splits into three glass parts that slide apart while the pencil grows into a check tile. Type tmrw 7pm: each word is recognised the moment it is complete and gets a lime wash, the date rolls up to Sat, 13 Dec and the changed digits roll to 19:00 one by one. Click the check and it flashes lime, the parts close back into one pill, the new value lands lime and cools to white, a light flares inside the glass and the chip settles with a soft squash. The second half types 12 dec 19:30 and goes back. Every frame is a pure function of time: ?render 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

  • date picker
  • time picker
  • natural language input
  • token highlighting
  • split pill
  • morphing button
  • odometer roll
  • dot matrix digits
  • frosted glass
  • backdrop blur
  • light rays
  • confirm state
  • demo pointer
  • lucide icons
  • canvas 2d
  • frame-exact recorder

stack

  • react
  • vite
  • typescript

fonts

Urbanist

Free fonts, linked in the prompt.

colors

  • #B4B5B8
  • #F1F1F2
  • #7D7F82
  • #0D0D0F
  • #18181B
  • #F3F3F5
  • #E6F26A

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