trash bar
AI UI component · a prompt for Claude, Codex and Cursor
Get the prompt, project and Figma file with monthly ($29 a month) or yearly ($249 a year). Plus tax where it applies.
A delete interaction, animated. Four dark glass folders, Testing, DO NOT OPEN, Dev Docs and Only for me, each with white sheets glowing through a frosted front pocket and a name and file count under it, sit around a round dark-glass trash button on a near-black 1080 × 1080 stage. The button is pressed, its lid tips open and it stretches into a bar with a white confirm part sliding in on the right, a green check and a cross in black circles; then it closes again. One at a time, each folder bends along a curve and is swirled clockwise into the bin, its far side trailing and its labels bending with it, like water down a drain. The lid shuts on a full bin, three bars fill the can and a green bar lights under it; then the lid opens and the folders swirl back out to their places in the opposite order. The folders and labels are live layers on one Canvas 2D (no images), bent by a triangle mesh; every move is a keyframe with a cubic-bezier ease, timed to the team's original animation. React, Instrument Sans and IBM Plex Mono, scales to fit any window, Space or R restarts it, and frame-exact rendering (?rec, window.__render(t), window.__ready, window.__LOOP).
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
- trash button
- delete animation
- confirm bar
- folders
- mesh warp
- swirl
- genie effect
- lid animation
- frosted glass
- canvas 2d
- keyframes
- cubic-bezier
- autoplay loop
- frame-exact recorder
stack
- react
- vite
- typescript
- canvas
fonts
Instrument Sans, IBM Plex Mono
Free fonts, linked in the prompt.
colors
- #0C0C0C
- #0F0F13
- #141414
- #222427
- #18191C
- #FCFCFC
- #13D897
- #3D68F2
- #2FD88F
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

