Split Dinner

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 soft white bill card on a pale glass shell: your photo, a "Split" pill and a history button on top; "Dinner at Nori" over a large $186.40, a receipt button, and a black Split button beside a white Pay all and a ⋯. A cursor presses Split: the button widens into a pale "Choose friends" while the card grows a Split with row of greyscale avatars (Mira, Theo, Sam, Add) that pop in one by one. Mira, then Theo get a ring and a check badge, and the amount rolls and blurs from $186.40 to $93.20 each and $62.13 each as the label counts the people. The button turns black again as "Request $124.26", is pressed and becomes "Requests sent" with Pending under each friend; Mira's ring and badge turn orange as she pays, an orange bar fills to half under "Collected $62.13 of $124.26", then the row folds away and the card returns to the start. A visitor can take over at any moment: Split, choose any friends in any order (the bill splits two to four ways), Request, and the rest plays out before the loop resumes. Geist, Phosphor icons, all HTML and CSS written each frame from one function of time: ?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

  • bill split
  • payment request
  • friend picker
  • avatar row
  • selection ring
  • check badge
  • number roll
  • blur transition
  • morphing button
  • button states
  • progress bar
  • status labels
  • expanding card
  • glass card
  • greyscale avatars
  • cursor animation
  • autoplay loop
  • take over by click
  • frame-exact recorder

stack

  • react
  • vite
  • typescript

fonts

Geist

Free fonts, linked in the prompt.

colors

  • #ECECEB
  • #FBFBFA
  • #111111
  • #3A3A3A
  • #4E4E4C
  • #9A9A98
  • #F08A2C

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