404 dead end

AI website section · 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 full-window 404 page drawn on one canvas: a night garden seen from above, with gravel paths between raised hedges (a lifted top face, a shaded front face and a contact shadow on the path below) and, stamped into the middle of the maze, hedges in bloom that spell 404 in pink and pulse faintly through the dark. The heading "404. Lost in the hedges." (Fraunces 600) and a line in Instrument Sans sit above it. Everything is fog except the warm, flickering pool of light round a small figure with a lantern, and nothing stays lit behind you. Lead the wanderer from the way in on the left edge to the faint cool gap on the right with the arrow keys or WASD (hold to keep walking), or tap or click any path to walk the shortest way there. Reach a dead end on foot and a cream speech bubble pops up over the figure: "Dead end. Classic.", "Hedge 1, you 0." and five more, once per dead end. Make it out and the fog lifts over 2.6 s, moonlight washes the garden, the 404 glows brighter and "You made it through. The page is still missing, though." rises in at the bottom. A new maze every visit (a recursive backtracker around the glyph with a few loops so it feels like a garden), sized to the window: the 404 doubles on big screens, cells shrink on small ones, and a resize keeps your place when the grid stays the same. ?seed=<n> draws the same maze every time; reduced motion drops the steps' easing, the flicker and the fade.

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

  • 404 page
  • error page
  • hedge maze
  • playable
  • canvas 2d
  • lantern light
  • fog of war
  • keyboard controls
  • tap to walk
  • pathfinding
  • procedural maze
  • speech bubble
  • win state
  • night garden

stack

  • react
  • vite
  • typescript
  • canvas

fonts

Fraunces, Instrument Sans

Free fonts, linked in the prompt.

colors

  • #070D0A
  • #13261C
  • #24573A
  • #3A3A2E
  • #8A2F58
  • #FFCF6B
  • #FBEEF3
  • #FFF7E6

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