mood jar

AI UI component · a prompt for Claude, Codex and Cursor

free

The prompt is free with an account: sign up with Google or email, and your copy starts right after. The project and Figma file come with monthly or yearly.

A dark mood tracker in one window. Step one asks "How are you feeling right now?" over a gummy mascot rendered in WebGL: a translucent marmalade star that morphs with a five-step slider, from a trembling, double-spiked crimson Very Unpleasant through violet Unpleasant (with a tear), cyan Neutral and green Pleasant to a round, softly wobbling amber Very Pleasant. Its only face is two glowing eyes that follow the pointer, blink and close into arcs; the slider, the button and the window's glow take the mood's colour. Next drops the mascot away and opens the jar: a glass jar with a brass lid that lifts while the new mood falls in through the neck and settles among the month's others under verlet physics. Tap a mood to bring up its card (a live mascot, the date and time, a five-step score, remove), shake the jar to make them all jump, read the month as daily colour bars and a legend of counts. The gummy material is four passes (mask, two blurs for thickness and glow, a shading pass with subsurface glow, fresnel rim, bubbles and caustic); a Canvas-2D mascot stands in where WebGL isn't available. Data is kept in localStorage with a pre-filled demo month, or passed in as props.

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

  • mood tracker
  • check-in
  • mascot
  • webgl shader
  • gummy material
  • morphing shape
  • step slider
  • physics
  • verlet
  • glass jar
  • entry card
  • month strip
  • legend
  • localStorage
  • canvas 2d fallback
  • react component

stack

  • react
  • vite
  • typescript
  • webgl
  • canvas

fonts

Inter

Free fonts, linked in the prompt.

colors

  • #060609
  • #F2F2F7
  • #FF2D55
  • #7A5CFF
  • #38C8FF
  • #4DFF9A
  • #FFC23A
  • #D7B25A

license

Free account: personal use only. Monthly or yearly adds commercial and client work. Don't resell or share the template, prompt or files.

read the license