Dayleaf Composer

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.

Today's Dayleaf journal entry on a phone: a photo of granite peaks at dawn, "Quiet morning, loud peaks", a byline with an initials avatar, two paragraphs, tags and a trail stat, with a dark toolbar along the bottom. A soft finger marker taps "Add a thought": the entry folds up into a rounded card, the photo shrinks away, the text slides up, and a dark keyboard and a text field rise underneath. "Golden hour at the lake, not a single cloud on the peaks." types in key by key: each key lights and fades, a pop-up letter rises over the pressed key, the suggestion strip shows the word being typed and two guesses, the amber caret blinks and the field grows to a second line. The finger taps the amber send button, the text flies up out of the field and lands in the entry as a new paragraph, "6:52 AM · just added", on a fading amber wash. Then the finger drags the handle down, the keyboard sinks, the photo comes back and the new line fades so the loop closes on its first frame. Pairs with Dayleaf Vitals: one app, the same tokens. Inter Tight and JetBrains Mono, self-hosted; GSAP drives the beats and one function draws every moment, so ?render and window.__render(t) give frame-exact video. Click or Space pauses; 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

  • journal app
  • composer
  • on-screen keyboard
  • key press
  • pop-up letter
  • word suggestions
  • typing animation
  • auto-growing text field
  • send button
  • new paragraph
  • keyboard sheet
  • drag handle
  • touch marker
  • phone mockup
  • photo card
  • tags
  • autoplay loop
  • frame-exact recorder

stack

  • react
  • vite
  • typescript
  • gsap

fonts

Inter Tight, JetBrains Mono

Free fonts, linked in the prompt.

colors

  • #E8E7E3
  • #FBFBFA
  • #141414
  • #1F1F21
  • #5A5A5E
  • #FFB547

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