Island Navigator

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.

A black pill sits at the top of a white phone on a pale grey ground, with a small blue turn arrow and "600 m". It springs open, with a little bounce, into a wide rounded widget that holds a 3D city at night: dark box buildings with faint floor lines, fog toward the horizon and a blue wash from below, seen from a camera pitched down over the main street. The camera drives up the street along a glowing blue route that turns right four blocks ahead, with chevrons pulsing along it, and a yellow extruded arrow (you) hovers on the route with a warm glow. Over the city: a liquid-glass tile with a white turn arrow, the distance counting down from 600 to 400 m in 10 m steps over "New York St.", your speed in a dim bubble and a white 60 limit sign. When the speed goes over 60 the sign turns red, glows and pulses, then turns back. A blue progress arc runs around the inside of the pill. After 7.6 s it folds back to the compact pill, now reading "400 m". The 9-second loop plays on its own; a click (or Enter / Space) replays it. Everything is drawn on one 2D canvas: the city is projected by hand from a seeded layout, and the glass tile refracts the city pixel by pixel. window.__render(t) and ?render give frame-exact video, ?t= opens on a moment, and reduced motion shows one still. Inter and Inter Display are local, so it runs offline. No sound.

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

  • navigation
  • turn-by-turn
  • phone pill
  • status pill
  • spring animation
  • expand and collapse
  • 3d city
  • canvas 2d
  • perspective projection
  • route line
  • distance countdown
  • speed limit sign
  • progress arc
  • liquid glass
  • refraction
  • glow
  • autoplay loop
  • click to replay
  • frame-exact recorder

stack

  • react
  • vite
  • typescript
  • canvas

fonts

Inter, Inter Display

Free fonts, linked in the prompt.

colors

  • #EBEBEC
  • #FFFFFF
  • #050505
  • #0D1119
  • #2985FF
  • #4D9EFF
  • #FF3B30
  • #FFB43C

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