A tour of the workbench

Docs

The workbench is one page per project. Four zones share it, and each control lives with the thing it changes.

The workbench: the editor open on the Design tab, the preview on the landing sample, the page header and the breadcrumb row above

How to use it

The editor sits on the left, folded into a rail until you open it. Its header holds the three tier tabs, Design, Semantic and Component, and an Icons tab for the icon set. A tab wears an amber dot while it holds an unsaved edit. Each row is one token: a design colour shows a swatch that opens a picker, a semantic token shows a light picker and a dark picker, a component token shows one reference picker. Drag the splitter between editor and preview to give either more room.

The preview fills the rest. Its header, left to right:

  • the view picker: sample pages, Components (with a focus picker to show one component), Blocks, Screens, and Custom when the project has a generated page;
  • the score button, one number whose popover lists the six checks; the Contrast and Corners rows open their dialogs;
  • the device picker, Mobile, Tablet or Desktop;
  • the both-themes toggle, which shows light and dark side by side;
  • View full page, which fills the window; Escape returns.

A small thumbnail in the preview's corner shows the other theme; click it to swap. On a phone, where the thumbnail would cover the page, a moon button in the preview header swaps instead.

The page header carries the project name and, once you have edited something, Save, Discard, and undo and redo. Cmd+Z and Shift+Cmd+Z (or Ctrl on Windows and Linux) do the same outside a text field.

The breadcrumb row under the header holds the project-level actions: Ask AI opens a chat that edits tokens for you; Pages & screens goes to the project's pages and app screens, made and changed on their own page; Project settings renames the project, shows its project token and deletes it; Ship to Figma and Connect an agent open their setup dialogs; Export opens the export dialog.

The command palette opens with Cmd+K (Ctrl+K). It jumps to any token by name, and lists undo and redo, the preview theme switch, Open pages & screens, the exports and Connect an agent.

How it works

Edits are an overlay over the saved tokens. Nothing reaches the database until Save, which sends every edit in one request and validates each against the project as it will be once all of them land. Discard drops the overlay. Undo and redo walk the overlay's history; the history is cleared by Save.

The preview is the real component kit painted through CSS variables built from the saved tokens plus the overlay, so an edit shows before it is saved. Folding the editor hides its controls too: the tier tabs go with it. The preview cannot be hidden.

The contrast and corner dialogs land their repairs as unsaved edits, so Discard is their undo as well.