Habit Widgets
AI UI component · a prompt for Claude, Codex and Cursor
Get the prompt, project and Figma file with monthly ($29 a month) or yearly ($249 a year). Plus tax where it applies.
On a soft off-white 1920 × 1080 board, 29 rounded widgets in white, black and one blue sit on a grid of 168-px cells. They pop in from the top left to the bottom right, each growing from 42 % scale, round and washed out, its content unblurring after it. Then every widget plays its own small story: the steps count runs up to 8,412 while a dot column per day grows, the habit days (Read, Run, Stretch) grow in row by row, a 12-week focus heat map pops in cell by cell, a timer ring fills and its seconds run, a Pomodoro dot breathes, rain cells light up with a now line sweeping across, the EUR → USD bars grow and the rate flickers, an index line draws in with a pulsing last point, a heart trace scrolls, the noise meter dances, sleep stages rise, a budget ruler fills to $188 left, storage fills kind by kind, a parcel creeps toward delivery, the moon's shadow slides off, the pages of a book fill to 64 % and a dotted map's route marches home while the pin pulses. Mid-loop the lamp steps up to 100 %, the heating's + is pressed to 22.0°, a Spanish streak ticks from 45 to 46 and the bus comes a minute closer. At 8.3 s everything settles back and the cards shrink away in the same sweep, so the loop closes on its first frame. Geist 400 and 500 with tabular figures, Phosphor fill icons, a fine paper grain, all HTML, CSS and inline SVG written each frame by one function of a moment: a click or Space pauses, ?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
- widgets
- widget board
- bento grid
- habit tracker
- step counter
- heat map
- countdown timer
- pomodoro
- rain chart
- sparkline
- heart rate trace
- sleep stages
- budget ruler
- storage bar
- delivery tracker
- streak
- smart home
- moon phase
- dotted map
- staggered pop-in
- autoplay loop
- frame-exact recorder
stack
- react
- vite
- typescript
fonts
Geist
Free fonts, linked in the prompt.
colors
- #EBEBE8
- #FFFFFF
- #121212
- #111111
- #2B59FF
- #2EC46B
- #EFEFEC
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

