Dayleaf Vitals
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.
A 3 × 2 grid of dark cards on a 1920 × 1080 stage, each tinted by its accent: a mono index and title, a period label, a canvas chart, a big Instrument Serif number with its unit, a sub line and a side column with a coloured delta over two key–value rows. Sleep draws last night's hypnogram (awake, REM, light, deep) with a scan line that lights each stage it passes; Heart scrolls 60 seconds of heart rate with a pulse ring on now; Recovery puts 30 days of HRV dots under a 7-day average curve and pops today's 74 in; Steps stacks hourly bars from small segments, the current hour glowing and climbing while the total, steps left and % of goal count with it; Caffeine decays two cups with a 5-hour half-life, solid to now and dotted after, and marks when it drops under the 50 mg sleep-safe line; Run colours a 48-minute heart-rate trace by zone over a bar of minutes per zone. The cards rise in with a blur, the charts draw left to right one card after another, stay live, then lift and fade out before the loop restarts; Space pauses, R restarts. On phones the cards stack in one scrolling column. Every frame is a pure function of time, with window.__render(t), ?rec for frame-exact video and ?t= to open on a moment; reduced motion shows one still. Part of the Dayleaf group with Dayleaf Composer: same type, labels and amber accent. Inter Tight, Instrument Serif and JetBrains Mono are local, so it runs offline.
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
- health dashboard
- widgets
- card grid
- sleep stages
- hypnogram
- heart rate
- hrv
- step counter
- caffeine half-life
- run zones
- canvas charts
- live charts
- count-up numbers
- staggered entrance
- autoplay loop
- frame-exact recorder
stack
- react
- vite
- typescript
- canvas
fonts
Inter Tight, Instrument Serif, JetBrains Mono
Free fonts, linked in the prompt.
colors
- #09090A
- #101012
- #EFEEE9
- #8F8DFF
- #FF6B6B
- #4FE3C1
- #C8F26B
- #FFB547
- #5AD1FF
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

