Generate

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.

An AI Generate button on a dark field of blue dots, lit from the top left and pooled round the button, under film grain. Hover and the dots nearest the button lift off and fly into it on bent paths, filling the pill's own dot matrix, while a soft light follows the pointer across the blue glass and the Iconoir sparkle turns a quarter. Press and the button squashes as the dots inside gather toward the finger; release and it kicks, a thin ring leaves it, a shock wave pushes the whole field outward and a ripple runs through the dots inside. The label blurs across to Generating… with ticking dots while a bright front sweeps the button left to right, then to a check and Ready. When the pointer leaves, the dots fly home and the button reads Generate again. Manrope 500 on a 320 × 72 pill. All motion is deterministic springs stepped at a fixed 1/240 s and two 2D canvases. Move or press to take over (Space and Enter work too); the demo comes back after 6 s idle. ?render 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

  • generate button
  • ai button
  • loading state
  • success state
  • dot matrix
  • particle flight
  • bezier paths
  • shock wave
  • ripple
  • progress sweep
  • pointer light
  • press squash
  • label cross-fade
  • spring motion
  • demo takeover
  • keyboard support
  • iconoir icons
  • canvas 2d
  • frame-exact recorder

stack

  • react
  • vite
  • typescript

fonts

Manrope

Free fonts, linked in the prompt.

colors

  • #04040A
  • #5168F0
  • #3446D8
  • #2534B4
  • #788AFF
  • #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