star balance
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 phone on a light page shows an in-app currency balance: a little sparkle mascot at the top, Your Sparks, a glowing glass card with slow-turning starbursts, a gold star beside the balance in large rounded numerals, a line of praise that ranks you (Only 3% of users have this many sparks!), and a Cash out button that reads 700 sparks = $7.00. Behind it, two counter-rotating wheels of light rays and soft glows breathe. Gold stars fly in from below on curved, spinning paths, one, then two in a row, then three; each swells and dissolves into a blur as it lands, sends out a soft double pulse, flashes the balance star and counts the number up with a pop, while the colour of the rays, glows, card, button and mascot slides with the balance from purple to pink to gold at 10,000, and the ranking line fades over to the next tier. Then the button is pressed, a star leaves the balance for it, and the balance drops to 120 in blue, before one last star brings it back to 700. The star is drawn in code (an SVG), the flights and pulses are one canvas, everything else is HTML and CSS moved by one pure render(t) with OKLCH colours. A 1080 × 1080 stage that scales to the window and keeps a phone's layout, a reduced-motion still, and frame-exact rendering (?rec, window.__render(t), window.__ready, window.__LOOP). Nunito is 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
- wallet balance
- in-app currency
- balance counter
- flying stars
- dissolve
- pulse ripple
- light rays
- colour by value
- oklch
- ranking line
- cash out button
- phone mockup
- mascot blink
- progressive blur
- autoplay loop
- frame-exact recorder
stack
- react
- vite
- typescript
- canvas
- svg
fonts
Nunito
Free fonts, linked in the prompt.
colors
- #F7F7F7
- #000000
- #BC43FF
- #3376FB
- #F426A4
- #FF8F0B
- #FFB833
- #FFD659
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

