library

image

effects

mcp

focus sleep widgets

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 dashboard-widget motion concept on a 1080 × 1080 stage that scales to the window and loops every 12 seconds. A near-black window floats on a warm grey ground: a greeting with an avatar, a Today / Week / Month switch and a bell with a badge, then four widgets with soft gradients and hairline edges. A scripted cursor switches Today to Week: the energy number rolls like an odometer from 78% to 64%, seven bars re-flow from hours to weekdays with the hottest one glowing orange, and the tip and the delta change. It opens Focus's frosted "…" menu, glides down to Deep work and picks it: the clock jumps to 45:00 and counts down, a mint ring sweeps round with a glowing dot, the chip reads "Deep work · on" and a Stop button rises, while Sounds starts playing Rain on glass and its 36-bar waveform comes alive. A click on Sleep expands the small card (7h 42m, a dot matrix of the night) into a full report: 72 px total, Deep / REM / Awake stats, a hypnogram drawing itself left to right with a gradient line and a glowing head, and an insight row. The cursor closes it, switches back to Today and presses Stop, and everything settles to the first frame. One pure render(t) function writes inline styles, text and SVG attributes, so any frame can be drawn on its own (window.__render(t), ?rec). Geist and Geist Mono, an AI portrait of an invented person, a reduced-motion 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

  • dashboard widgets
  • segmented control
  • odometer number
  • bar chart
  • chart tooltip
  • dropdown menu
  • frosted menu
  • focus timer
  • progress ring
  • countdown
  • audio waveform
  • play pause
  • card expand
  • sleep tracker
  • dot matrix
  • hypnogram
  • svg path draw
  • scripted cursor
  • autoplay loop
  • frame-exact recorder

stack

  • react
  • vite
  • typescript

fonts

Geist, Geist Mono

Free fonts, linked in the prompt.

colors

  • #0D0D0E
  • #F4F4F5
  • #FF7A4D
  • #7FE0B8
  • #B9ADFF
  • #9D8CFF
  • #D6D2CD

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