library

image

effects

mcp

glass lab

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 motion study on a 1080 × 1080 stage that scales to the window and loops every 20 seconds. A close-up portrait in warm amber and teal light sits behind textured glass drawn by one WebGL fragment shader with five looks: Fluted (vertical ribs refract the frame), Frosted (soft diffusion with fine grain), Pebbled (each cell a tiny inverted lens), Focus (a frosted pane with one clear window over her eye, marked by a white frame with corner brackets and a crosshair) and Streak (light drags into vertical trails with a slight colour split). Every four seconds a scripted cursor clicks the next glass in a frosted dock of live thumbnails (each the same shader drawn small): the ring slides over, the name and its line rise in with a blur, and a soft glowing edge wipes the new glass across the frame at 95% while it eases to 55%; then the cursor grabs the marker on the Intensity ruler and drags it back to 95%, and the glass strengthens live. Every moment comes from one pure render(t) function (window.__render(t), window.__MANUAL, ?rec), so any frame can be drawn on its own. Geist and JetBrains Mono, a reduced-motion 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

  • webgl shader
  • fluted glass
  • frosted glass
  • pebbled glass
  • focus window
  • streak blur
  • reeded glass
  • glass texture
  • wipe transition
  • live thumbnails
  • intensity slider
  • ruler slider
  • frosted dock
  • backdrop blur
  • scripted cursor
  • click ripple
  • portrait
  • autoplay loop
  • frame-exact recorder

stack

  • react
  • vite
  • typescript
  • webgl

fonts

Geist, JetBrains Mono

Free fonts, linked in the prompt.

colors

  • #050506
  • #F2F2F3
  • #C98430
  • #03907A

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