Design a screen before building it
AI Agents
Sketch a page as a static design, look at it beside the chat and refine it before any app code changes. Use /canvas with Claude Code, or let any connected agent offer a design when a new screen or larger visual change needs one. Comments you leave on a design are applied by a separate design agent, right on the canvas.
- Start a design with Claude Code
- Read the canvas
- Point at a part and comment
- How the design agent applies comments
- Versions
- Export and import designs
- Where designs are saved
- Let agents offer designs
- Keep design and build separate
Start a design with Claude Code
- Open a chat in a local project and choose Claude Code.
- Type /canvas, or choose Design canvas from the commands. A Design chip appears above the message box with the hint Result opens on the canvas.
- Describe the screen: “A sign-up page for Small Stories with a short form, a testimonial and a dark header.”
- Send. Claude writes the design and the Design canvas opens beside the chat when the file is saved.
Send more messages to refine the same design. By default the chat continues its most recent design file in that project. Select the chip to show the canvas again, and Exit design to return to ordinary messages.
Design mode needs a local project folder in the chat. Without one, VortexHQ asks you to choose it before sending. It is not available in a message that starts with an @project mention. The Design work step, chosen with /design or @design, is different: it guides the current agent's next answer and does not open the canvas.
Read the canvas
Every design of the chat is a frame on one canvas, standing in a row with the oldest first. When the canvas opens, the newest frame is selected and the view fits it. Selecting a design card in the chat selects its frame.
| Control | What it does |
|---|---|
| Drag or scroll | Moves the canvas. Pinch, or Ctrl/⌘ with the wheel, zooms around the pointer. |
| Zoom out / zoom / zoom in / Fit all | The top bar controls. Click the current zoom to return to 100%. |
| Frame size | Each frame is drawn at the width the design declares, 1440 × 900 otherwise, and grows to the height of its content. Its size control offers Mobile, Tablet, Desktop and Wide instead. |
| Versions | The kept versions of that frame. |
| Open source | Opens the HTML file in the editor. |
| Download | Saves that frame's HTML on its own. |
| Full size | The last button of the bottom toolbar opens the canvas in place of the chat and brings it back to the side panel. |
The footer says Static preview · scripts and external resources are not run. The canvas removes scripts, frames, links and event handlers and blocks network access, so buttons and links do not navigate. Use it to judge layout, colour, type and content, then ask the agent to build the real page and check it in Preview.
Point at a part and comment
The bottom toolbar has four tools: select, move, Comment and Ask the agent. With either of the last two, the part under the pointer is outlined and a click opens a small form with the question What should change here?
| In the form | What happens |
|---|---|
| Send to agent ticked | The button reads Send. The design agent applies the comment at once. Ask the agent opens the form with the box already ticked. |
| Pin comment | Keeps the note on the design as a numbered pin, to send later. |
| Add to message | Adds your note to the chat's message, with a reference to the design file and the part you pointed at. The chat's agent receives it with your next message. |
The Comments list shows the pins of the canvas. Its Send to agent button sends the open comments of every frame.
Comments belong to the design, not to the chat, and are kept on this computer. A pin follows its part when the design changes; when the part is gone, the pin stays where it was placed.
How the design agent applies comments
Comments you send are handled by a separate design agent, like comments on a whiteboard. It uses the agent and model of the chat and changes the design file itself. The chat receives nothing and keeps running, so you can comment on a design while the chat's agent works on something else.
- While it works, its cursor and an outline sit on the part it is changing, and a status line shows the agent, the seconds and the frame, with Stop.
- When it finishes, the pin becomes a check, the list shows Done with the frame, and the agent's reply appears beside the pin.
- If it fails, the comments stay open with the reason and Try again.
- One request runs per frame. If you send more while it is busy, VortexHQ asks you to send the further comments when it finishes.
Each change is saved as a version of the frame, so you undo it by restoring the version before it.
Versions
Every save of a design keeps the previous content as a version, up to 30 per design. A frame's version control lists them by number and time. A frame can show an older version, download it or restore it. Restoring first keeps the content it replaces as a version, so nothing is lost. Restore is unavailable while the design's turn is still running.
Export and import designs
Export for agent saves a .zip with one HTML file per frame and a README.md. With several frames, it asks whether to export the selected frame or all of them. The README is the hand-off spec the agent wrote beside the design when you approved it or asked to hand it off. Without a written spec, the README lists what can be read from the file: width, most used colours, fonts and headings. Pinned comments of the exported frames are added at the end.
Import takes such a bundle or a single .html file. Up to eight HTML files become frames, copied into the project without overwriting an existing design. The imported frame is attached to your next message, so the agent knows which file and spec to build from.
Where designs are saved
Each design is one self-contained HTML file in the project, at designs/vortex-<name>.html, below 2 MiB, and one frame on the canvas. An approved design can have a spec beside it, designs/vortex-<name>.md. Styles and images are inline. The agent is asked to leave the app's source unchanged while designing.
Design files are ordinary project files. They follow the chat's access mode, appear in Files and Source Control, and are committed if you include them. Add designs/ to .gitignore or delete the files when you do not want to keep them.
Let agents offer designs
Open Settings → General → Conversations → Agent designs:
| Choice | Behaviour |
|---|---|
| Off | Agents are not offered the design tool. |
| Ask | When a new screen or larger visual change would benefit, the agent asks in one sentence whether to make a design first and waits for your answer. |
| Auto | The agent decides when a design helps. It skips small fixes, copy changes, backend work and refactors. This is the default. |
When an agent saves a design, a card with a thumbnail, the title, HTML design, its version, the saved time and Open canvas appears in the chat. The canvas opens only when you select the card or ask the agent to show the design. The setting applies to local agents connected to VortexHQ tools in a chat with a project folder. It does not apply to SSH-hosted runs or generation models.
Keep design and build separate
A design is a reference, not a working feature. After you agree on it, ask for the implementation in a normal message: “Build this sign-up page in the app, using the saved design.” The agent should save a revised design after each complete change, then implement. Review the result in Preview and the diff in Files and Source Control.
In Plan, agents are instructed not to write files, so ask for a design after switching to Build. See access modes.