# Designs

> Pages an agent draws as live HTML artboards, reviewed side by side at each device's size.

A design is a set of artboards, each a live HTML page, laid out on a canvas in
rows and columns. An agent writes the pages; you review them. **File › New
Design** (⌘⇧D) makes one. Designs are on unless `designs` is off in
[Features](https://cydonia.sh/docs/general/features.md), and Linux builds have none.

Each artboard is a directory in the project,
`.cydonia/designs/<design>/<artboard>/`, holding its `index.html` and the CSS,
images and scripts it loads.

## Reviewing

Every artboard of a design is drawn at one viewport size: **Desktop** (1440 ×
900), **Tablet** (768 × 1024) or **Phone** (390 × 844). A row is as tall as its
tallest artboard.

| Do | How |
| --- | --- |
| Pan | The Hand tool (H), or hold Space and drag |
| Select and drag an artboard to another cell | The Select tool (V) |
| Zoom in, out | ⌘= and ⌘- |
| Zoom to fit | ⇧1 |
| Actual size | ⌘0 |
| Use an artboard's live page | **Expand artboard**; Esc goes back to all of them |

Zoom halves and doubles from 2%. An expanded artboard is its page at the
design's size, to click and type in; pinch to zoom it. **Open in browser**
opens it in the system browser. A design reopens where you last looked at it.

An artboard's menu renames or deletes it, and **New artboard** adds one. An
artboard with no `index.html` yet says it is waiting for one.

## Exporting

**Export** in a design's menu writes it as static site files, as a folder or a
ZIP: each artboard's directory as it is, named after its title, and an
`index.html` at the root that shows every artboard in its row and column.
Upload the folder as it is to a host such as Vercel or Netlify. **Export** in an
artboard's menu writes that artboard alone, its `index.html` at the root.

**HTML file** writes one page that opens with nothing beside it: the CSS,
scripts, images and fonts an artboard loads from its folder are written into
it, and a whole design is one page with every artboard in its frame. Links to
the web stay links. A file the page names that is not in the artboard's folder,
or one a script fetches as it runs, is not written in; the export says which.

**PDF** renders each artboard at the design's size and makes its whole length
one page, with the text kept as text, the pages in row-then-column order. It is
offered where the design is open in a pane, which it renders the pages in.

## Agents

Agents work designs with `design_list`, `design_add`, `design_read`,
`design_add_artboard`, `design_move_artboard`, `design_rename_artboard` and
`design_remove_artboard`, which takes the artboard's files with it.
`design_add_artboard` answers the directory to write the page in, and the
browser tools read, inspect and screenshot an artboard at the design's size —
see [MCP](https://cydonia.sh/docs/agents/mcp.md). The `design` resource agents are given lays out a
flow per row and a step per column, a screen's variants in the row under it.
