dockfield

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 light dashboard for a manufacturing plant's yard and line, built around a live three.js plant drawn as white clay among dotted hills by a fjord. White cards float over the 3D: inbound trucks on the left, each with its visit (gate, yard, dock, unload, done), and the blanks left at the line; outbound trucks on the right, with their loading progress, and Line 2's five stations; the story's four steps above the view; and along the bottom a dock schedule, a Gantt of the six docks with a moving now line, beside the latest activity. The top bar has the plant switcher, Yard / Line / Shipping / Reports, the shift and a live clock. The plant: a sawtooth-roofed works with six dock doors, shelters, roller doors and dock lights, a truck yard with lanes and a trailer pool, a gate with a barrier, the office and a substation. Inside: an epoxy shop floor, pallet racking, and Line 2 (a destacker, a press with its slide, a weld cell with two robots and sparks, a vision arch and a palletiser). Hollow box trailers roll their rear doors up to show their rows of load. Trucks drive real paths (the trailer follows the tractor, reversing steers by the trailer), forklifts drive forwards and in reverse, and nothing ever passes through anything. One accent, green, marks what is happening now: a truck's route drawn on the yard, the dock it is assigned, corner brackets on what the story follows, the live truck card and the schedule's now line. The 30-second story: Arrive (a dock is assigned and T-218 backs onto it), Unload (the trailer's door rolls up and a forklift takes a row of blanks to the line), Produce (a dolly down the line past every station), Ship (the last pallet goes onto T-305, which leaves while T-218 takes Dock 5 for its backhaul). The camera films three takes with two cuts. Click the plant for its floor, a station or a dock to go to it. Inter and IBM Plex Mono, physically based materials with six CC0 Poly Haven sets, GTAO and MSAA, scales to fit any window, 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

  • dashboard
  • 3d scene
  • three.js
  • webgl
  • logistics
  • manufacturing
  • trucks
  • forklift
  • robots
  • production line
  • dock schedule
  • gantt
  • truck cards
  • stepper
  • live chart
  • activity feed
  • callouts
  • tooltip
  • cursor animation
  • drill-down
  • camera flight
  • post-processing
  • physically based materials
  • autoplay loop
  • frame-exact recorder

stack

  • react
  • vite
  • typescript
  • three
  • webgl

fonts

Inter, IBM Plex Mono

Free fonts, linked in the prompt.

colors

  • #E4E7E9
  • #FFFFFF
  • #1E2226
  • #4A5157
  • #899097
  • #12B76A
  • #0B8F51

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