mercury

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 thin white-hot ring floats over dark water, a dark glass disc inside it and a tiny glowing core at its centre. Three times, from the bottom, the upper left and the upper right, liquid gathers out of the ring while the ring drains thinner and sags toward it, then the drop stretches on a viscous thread that necks and snaps, and pours into the core, which grows with each one. Under it, a small Geist Mono label counts Syncing library 0% to 100%. At 100% the full core breathes in and releases a wave that runs back out into the ring; the ring springs, a flash and a halo of light roll outward, and the label blurs over to Ready before a new core condenses and the loop starts again. It is all one WebGL fragment shader: the ring, drops, thread and core are a single liquid field of smooth-min metaballs, lit white-hot with a cool blue glow and mirrored in a softly blurred, rippling reflection. Space or R restarts it. The 9.6-second loop is seamless, and its own sound ships with it as a bonus file. ?rec and window.__render(t) draw any moment for frame-exact video export; 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

  • loader
  • progress indicator
  • loading state
  • syncing
  • percentage counter
  • liquid
  • metaballs
  • smooth min
  • signed distance field
  • webgl shader
  • glow
  • water reflection
  • ripple
  • drops
  • ready state
  • label crossfade
  • autoplay loop
  • keyboard restart
  • sound
  • frame-exact recorder

stack

  • react
  • vite
  • typescript
  • webgl

fonts

Geist Mono

Free fonts, linked in the prompt.

colors

  • #020203
  • #0A0B0E
  • #E6ECF6
  • #B3C7FF
  • #FFFFFF

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