Second Thoughts

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.

Second Thoughts is a notes app shaped like a wastebasket, built in React with three.js. A perforated brushed-steel bin stands under a warm spotlight on a black floor, filled with crumpled balls of paper you can see through its holes, with two more lying beside it. Hover a ball and it lifts and glows while a tooltip gives the note's title, how many times it has been crumpled and when it was thrown away. Click it and it arcs up to you; drag outward (or just click) and it springs open with a little overshoot into a flat A4 sheet that still shows its old creases, while the room dims and a reading light comes on. The sheet becomes a rich-text editor laid exactly over the paper: headings, bold, italic, underline, strikethrough, lists, a quote, five highlighter colours and images by button, paste or drop. Save & crumple (or ⌘S) paints the writing onto the paper, crumples it in two twisting hands and tosses it back into its spot in the bin; Toss back closes without saving; Write a new one slides up a fresh sheet, and an empty one is discarded. Each ball keeps its own seeded crumple, drawn from a shrinking sphere and a Worley crease field. Eight sample notes ship with it, every note is saved in localStorage, and Reset brings the samples back. The camera drifts with the pointer, and it works on phones with touch.

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

  • notes app
  • rich text editor
  • formatting toolbar
  • highlighter
  • image upload
  • 3d scene
  • crumpled paper
  • procedural geometry
  • canvas texture
  • pull to open gesture
  • spring animation
  • hover tooltip
  • pointer parallax
  • dimmed focus
  • local storage
  • reset
  • touch support

stack

  • react
  • vite
  • javascript
  • three
  • react-three-fiber
  • webgl

fonts

Instrument Sans

Free fonts, linked in the prompt.

colors

  • #000000
  • #161514
  • #F2EFE9
  • #F3F0E8
  • #1D1C1A
  • #A7A9AD
  • #FBE67A
  • #F8B9CF
  • #B9E6B0
  • #B4D7F6
  • #F9CF9B

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