Sign-up
6 states · 2 flows
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 ↓
Loading…
6 states · 2 flows
24 states · 19 flows
1 state · 1 flow
54 states · 16 flows
5 states · 2 flows
31 states · 13 flows
22 states · 5 flows
2 states · 1 flow
9 states · 2 flows
8 states · 3 flows
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.
Console layer · local only, never ships
Flow inspector, Workboard and Gallery for each area, plus /prototype click-through.
src/app/(dev)/dev/[area]/ · (dev)/prototype/10 areas
Every component with its specimens, and every design token.
(dev)/dev/components/ · (dev)/dev/design-system/27 components
Left library, top bar, and the inspector: State, States, Options, History, Demo, Research.
src/app/(dev)/dev/_console/The list of areas. An area missing here compiles fine and never appears.
src/dev/registry.ts · workboard/parent.ts162 states · 64 flows
Mounts the REAL container with seeded atoms; wraps signed-in states in the app shell.
src/dev/seeded.ts · seeded-store.tsx · frames.tsxArtboards at true size, the pan/zoom canvas, viewports and journey filmstrips.
src/dev/artboard.tsx · zoom-canvas.tsx · viewport.ts · journeys-view.tsxOne file per component, showing each prop it takes.
src/dev/specimens/Each person's board (camera, options, typed values) and a coarse edit history.
src/dev/workboard/sessions/<you>.json · worklog/<you>.jsonAlternatives spawned beside a real state on the workboard.
src/dev/workboard/options/Local-only endpoints: session, workboard, worklog, commits, research.
src/app/(dev)/dev/api/*/route.dev.tsFiles named *.dev.tsx are left out of production builds; isDevConsoleEnabled() is the second lock.
next.config.ts · src/dev/guard.ts/generate-states adds a screen's states; /import-design-system brings in tokens.
.claude/skills/<area>.states.ts seeds atoms and mounts the real container. Product code never imports src/dev.Product layer · ships to production
The route. Mounts the container and sets metadata.
src/app/(authenticated | unauthenticated)/<area>/page.tsxBehaviour and data: validation, submit, later the real API calls.
_components/<area>-container.tsxEvery pixel. Props in, callbacks out; no state, fetching or routing.
_components/<area>-view.tsxThe screen's state and its mock defaults.
_components/<area>.atoms.ts · <area>.fixtures.tsSidebar and main card around every signed-in page.
(authenticated)/layout.tsx · src/components/authenticated-shell.tsxThe building blocks screens are made from. Each Figma variant is a prop.
src/lib/components/27 components
shadcn semantic names; no hex, hue classes or [Npx] in product files.
src/styles/tokens.cssServer endpoints the product calls.
src/app/api/datasets/Explore shared screens, seeded previews, workboard storage, and crafting skills. Design-playground snapshot · October 13, 2026.