Overview

Design console

Every screen, every state it can be in, and every path through them — at laptop size, before any of it is built for real. How it fits together ↓

Since your last visitAll changes

Loading…

Flows

System map

One repo, two layers. The console only looks at the product: a state is the real container with different atom values, so if it looks right here, it looks right in the app.

  1. 1TokensDesigner
  2. 2ComponentsDesigner
  3. 3ViewDesigner
  4. 4StatesDesigner
  5. 5Review in /devDesigner
  6. 6Guards passAuto
  7. 7PR = handoffDev
  8. 8Wire real dataDev
  9. 9ShipsDev

Console layer · local only, never ships

Area views

Flow inspector, Workboard and Gallery for each area, plus /prototype click-through.

src/app/(dev)/dev/[area]/ · (dev)/prototype/

10 areas

Library pages

Every component with its specimens, and every design token.

(dev)/dev/components/ · (dev)/dev/design-system/

27 components

Console chrome

Left library, top bar, and the inspector: State, States, Options, History, Demo, Research.

src/app/(dev)/dev/_console/

Registry

The list of areas. An area missing here compiles fine and never appears.

src/dev/registry.ts · workboard/parent.ts

162 states · 64 flows

Seeded store + frames

Mounts the REAL container with seeded atoms; wraps signed-in states in the app shell.

src/dev/seeded.ts · seeded-store.tsx · frames.tsx

Rendering

Artboards at true size, the pan/zoom canvas, viewports and journey filmstrips.

src/dev/artboard.tsx · zoom-canvas.tsx · viewport.ts · journeys-view.tsx

Specimens

One file per component, showing each prop it takes.

src/dev/specimens/

Boards + work log

Each person's board (camera, options, typed values) and a coarse edit history.

src/dev/workboard/sessions/<you>.json · worklog/<you>.json

Options

Alternatives spawned beside a real state on the workboard.

src/dev/workboard/options/

Console API

Local-only endpoints: session, workboard, worklog, commits, research.

src/app/(dev)/dev/api/*/route.dev.ts

Guard

Files named *.dev.tsx are left out of production builds; isDevConsoleEnabled() is the second lock.

next.config.ts · src/dev/guard.ts

Claude skills

/generate-states adds a screen's states; /import-design-system brings in tokens.

.claude/skills/
↓ imports go down onlyThe one bridge: each area's <area>.states.ts seeds atoms and mounts the real container. Product code never imports src/dev.

Product layer · ships to production

Page

The route. Mounts the container and sets metadata.

src/app/(authenticated | unauthenticated)/<area>/page.tsx

Container

Dev

Behaviour and data: validation, submit, later the real API calls.

_components/<area>-container.tsx

View

Designer

Every pixel. Props in, callbacks out; no state, fetching or routing.

_components/<area>-view.tsx

Atoms + fixtures

The screen's state and its mock defaults.

_components/<area>.atoms.ts · <area>.fixtures.ts

Signed-in shell

Sidebar and main card around every signed-in page.

(authenticated)/layout.tsx · src/components/authenticated-shell.tsx

Components

Designer

The building blocks screens are made from. Each Figma variant is a prop.

src/lib/components/

27 components

Design tokens

shadcn semantic names; no hex, hue classes or [Npx] in product files.

src/styles/tokens.css

API routes

Dev

Server endpoints the product calls.

src/app/api/datasets/

Explore shared screens, seeded previews, workboard storage, and crafting skills. Design-playground snapshot · October 13, 2026.