tear ticket

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 vertical concert ticket animated on a 1080 × 1080 stage that scales to the window, looping every 12 seconds. The main part is dark paper with a violet, teal and pink blurred artwork panel ("Live · Hangar 9", "Nocturne"), a subtitle and Date / Doors / Gate facts; the stub below the perforation carries ADMIT ONE, a seat, a serial number and a decorative code. A cursor grabs the stub and pulls: the perforation tears hole by hole, the stub bends as a WebGL2 paper mesh with shading from its slope, lifts toward the camera with a growing shadow, and the ticket above is dragged along. The first pull stops at 42 % and springs back; the second rips the stub free, it is tossed, slides and settles while a shine sweeps the artwork, then slides back and the perforation closes, so the loop is seamless. One pure render(t) draws every frame (?rec, window.__render(t), window.__ready, window.__LOOP). Geist and Geist Mono, no images, a reduced-motion still and a flat fallback without WebGL2.

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

  • ticket
  • event ticket
  • paper tear
  • perforation
  • tear-off stub
  • paper bend
  • webgl mesh
  • vertex shader
  • clip path
  • spring back
  • toss
  • scripted cursor
  • blurred gradient art
  • shine sweep
  • seamless loop
  • autoplay loop
  • frame-exact recorder

stack

  • react
  • vite
  • typescript
  • webgl
  • canvas

fonts

Geist, Geist Mono

Free fonts, linked in the prompt.

colors

  • #09090A
  • #1B1B1F
  • #F1EFEB
  • #7D7B84
  • #7B5CFF
  • #2DE0C8
  • #FF4FA3
  • #120F1C

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