The canvas
The canvas is a tab of the Preview pane where Genie draws screens, flows and layouts as boards on an endless surface. You look around, move and resize the boards, retype their text, pin notes on them, and point at one board to tell Genie what to change. Use it when you want to see an idea before it is code: a login page and a dashboard side by side, three versions of a header, the phone version of a screen.
Each board is an ordinary web page. It is saved in your workspace in .genie/canvas/<name>/boards/, so you can copy it into your project or open it in the editor. Every change to a board is kept as a version, so nothing is lost.

1. Open it, and ask Genie to draw
Open the Preview pane's More menu (the three dots) and choose Open the canvas, or just ask Genie in Agent mode:
Design a login page, a dashboard and the phone version of the login.
Genie opens the canvas as a tab beside your pages (Canvas · login-flow), shows the boards it plans as dashed frames, and fills each one as it draws it. Drawing a board is writing a file, so Genie asks the first time, the way it does before it changes your editor. A task draws at most 24 boards. A board can have its own styles and scripts, so a clickable prototype works.
The canvas needs room. If the pane feels small, dock it over the editor (More, Dock over the editor) or drag it by its handle, the six dots at the left of the bar.
2. Look around
- Pan: drag the empty canvas, use the hand tool (H), hold Space and drag, scroll, or drag with one finger on a phone.
- Zoom: Ctrl and scroll (Cmd on a Mac), the + and − buttons, or pinch with two fingers. It goes from 10 to 400 percent; click the percentage for 100.
- Fit all (F) shows every board at once. The small map in the corner shows where you are; click it to go there.
Boards that are far off screen are paused and load again when you come near, so a canvas with many boards stays light.
3. Move, size and select a board
Click a board to select it (a coral outline appears and a bar with its name and size shows at the top). Drag it to move it; drag the corner or an edge to resize it. Boards snap to the edges of their neighbours and to a grid, and a label shows the size while you drag. The arrow keys nudge the selected board (Shift for bigger steps).
4. Tell Genie about one board
When a board is selected and Genie's box is open, a chip Board: Dashboard appears in the box. Just say what to change:
Make the cards bigger and use our coral accent.
Genie is told the board's name and size, and an outline of the canvas, and then changes that board; the others stay as you left them, including your own edits. Press the x on the chip to stop mentioning the board. The bar's Ask Genie button opens Genie's box for you.

5. Retype text yourself
Click a part of a board that is text, such as a heading or a button label, and you can type in it straight away: the caret is where you clicked. Press Esc, or click another part, and the change is saved as a new version of the board. Only the text of that part changes. Genie hears about it with your next message (“you changed the text of h1#title”); it never reacts by itself.
6. Pin a note on a board
Choose the pin tool (P) and click a spot on a board. A card opens with the part you pointed at. Write what should change, then pick one:
- Note keeps it as a reminder for you. Genie does not get it.
- Send to Genie sends it with your next message: Genie gets the board, the part under the pin and your words, and does what the note says to that part. The pin turns grey once Genie has it, and green when Genie has answered it.
The Comments button lists every note with its board, its state (reminder, with next message, sent) and Genie's answer. From there you can send a note, send them all, or delete one.


7. Versions, Undo and Compare
Every write to a board, by you or by Genie, is a version (the last 30 are kept). With a board selected, Undo (Ctrl Z) goes back one, Redo (Ctrl Shift Z) goes forward. Versions lists them with the time and what was done; Compare shows what is different from the board now (green lines came in, red lines went out), and Restore brings an old version back as the newest. After Genie draws, a line at the bottom says Changed on the canvas, with the lines added and removed, Undo and Show diff.

8. Add, duplicate and delete boards
+ Board adds a blank board in the middle of what you see. Duplicate (Ctrl D) copies the selected board next to it, which is a good way to try a change without losing the first one. Delete (Del) removes the board, its versions and its notes, after asking.
9. Links between boards, and trying a prototype
A board can link to another board: write <a href="#board:dashboard">Next</a> in it (ask Genie: "make the Sign in button go to the Dashboard board") and following the link moves the view to that board. While you arrange a board, a click picks a part. Press Try it in the bar to use the selected board like a visitor instead: its buttons, scripts and links to other boards work, so you can check a clickable prototype. Click Try it again, or the empty canvas, to stop. A board only does what its page does: a board Genie drew is a still picture unless it has links, buttons or scripts, so Try it will tell you when there is nothing to click. Ask Genie to make it interactive, for example “make the menu items switch sections” or “link the Reserve button to the Booking board”. A board has no network, so a link to an outside address does nothing; the canvas says so.
10. Export
The Export button offers This board as a file (an .html page), All boards as a zip (the pages and a layout file), and Print, or save all as a PDF (the browser's print window, one board to a page).

11. Change one part of a board
To polish a board without asking Genie, change one part of it: a button, a heading, a card. Just click a part of a board (the board is selected by the same click). It gets an outline with its name and size, and a toolbar floats over it. Click a part that holds others again to pick its parent, Shift-click to add another, Esc to let go (and again to deselect the board). To move the board, drag it. Hold Alt and point at another part to see the distance between them.

The toolbar has three groups and a menu:
- Look (coral): Fill (background or text colour: a hex box, the colours the board already uses, the site's accent, an eyedropper), Corner (radius, all corners or each, Square and Pill) and Text (size, weight, align, font, line height, letter spacing, colour).
- Shape (blue): Layout (for a part that holds others: stack, row, grid of 2 or 3, gap, alignment, wrap) and Size (width and height as fixed, fill or hug the content; keep the ratio).
- Guard (lime): Lock (nobody changes this part, you or Genie, until you unlock it) and Note (pins a note on this exact part).
- More: Duplicate, Delete and Wrap in a container; Copy style and Paste style; Select parent; Spacing (padding and margin), Border and shadow, Opacity; Picture (replace a picture with one of your own, up to 200 KB); Bring forward, Send back, To the front, To the back; Make it a style; Hide part and Show all hidden parts; Ask Genie about this part; Copy selector.

Each button opens a small panel with a live preview: Keep (or Enter) saves it as a new version of the board, Esc drops it. Every kept change is a version like any other, so Undo and Compare work, and Genie hears about it with your next message in plain words (“you changed the fill of button#buy to #1b6ef3”). The chip in Genie's box says Board: Pricing › button#buy, so “make this match the heading” has an exact target.
Several parts. With two or more parts selected, a Line up group appears: align left, centre or right edges, align top, middle or bottom, spread evenly (three or more parts), and the same width or height as the first.

Move a part. Drag a part that is already selected (it has the outline) and only that part moves; drag anywhere else on the board and the board moves. The part snaps to the edges and centres of the other parts and of the board when it comes within a few pixels, and a coral guide line shows what it lined up with; hold Alt to drag without snapping. Hold Shift to keep the move on one line, press Esc before you let go to put the part back. With a part selected, the arrow keys nudge it by 1 pixel (10 with Shift); a run of key presses is one change. The move is saved as the part's own translate, so the page around it does not shift, and it is one version, such as “you moved button#buy by 40, 12”. With several parts selected they all move together. A locked part does not move and says so.
Change its place in the page. The free move above leaves the page as it is. To put a part somewhere else in the page order, hold Alt and Shift and drag the selected part: a coral line shows where it would land (before or after the part you point at, or inside a container you point at, such as an empty box), and it is put there when you let go. The page reflows around it, and it is one version (“you moved button#alt before button#buy”). Alt and the arrow keys move the selected part one place earlier or later among its neighbours. A locked part does not move, and nothing goes into a locked container.
Size a part by its handles. A single selected part shows three small handles: the middle of its right edge, the middle of its bottom edge and its bottom-right corner. Drag one to set the width, the height or both. Hold Shift on the corner to keep the ratio, press Esc before you let go to put it back. The new size is saved as one version (“you changed the size of button#buy to 140 × 48”), and a part that is locked has no handles.
Pick several parts with a box. Hold Shift and drag on a board to draw a box: the parts that lie wholly inside it are selected (only the outermost ones, so a card is picked, not the card and everything in it). Then the Line up group and the other tools work on all of them. A Shift-click still adds or removes one part.
Make it a style. More, Make it a style turns the part's fill, text colour, size or corner into a named value at the top of the board (--brand) and uses it on every part that had the same value, so changing the style later changes them all.
Locked parts. A locked part shows a padlock in its name. The tools refuse to change it, and Genie is told which parts are locked: if Genie rewrites a board and the locked part is not exactly as it was, the write is refused and Genie is asked to keep it. Unlock in the same place lets it change again.
Check it at another width. The Responsive button in the bar shows the selected board at the width of a phone (390), a tablet (768) or a laptop (1280), scaled to fit. The board's own size on the canvas does not change; choose The board's own size to go back.
Every value is checked before it is used: colours, lengths and a short list of keywords only. A web address, a script or a second rule is refused, and a picture must be a PNG, JPEG, GIF or WebP of at most 200 KB.
Keys
- V select · H hand · P pin · F fit all · + − zoom · 0 100 percent
- Space and drag to pan · Ctrl and scroll to zoom · arrow keys nudge a board, or the selected part
- Alt ↑ ↓ move the selected part one place earlier or later · Esc let go of a part or deselect · Ctrl Z undo · Ctrl D duplicate · Del delete a board
Good to know
- Boards are sandboxed. A board runs in a frame with no access to your session, your cookies or the editor page, and it cannot call the network: its scripts work, but pictures and fonts must be inline (data: addresses or SVG). If a board shows nothing, ask Genie to make it self-contained.
- Several canvases. A workspace can hold more than one canvas. The button with the canvas name at the left of the bar (for example login-flow) lists them all with the number of boards in each: pick one to open it, or choose New canvas…. Genie can also open one by name ("open the canvas named onboarding"), and
canvas_readtells it which ones exist. The first one is calledmain. - Its own window. Drag the pane by its handle (the six dots at the left of the bar) out of the page and let go, or choose More, Pop out to its own window: the whole canvas moves into a window of its own and stays live, and a button in the pane brings it back. Allow pop-ups for the site if the browser stops it.
- Limits. 24 boards in a canvas, 512 KB of HTML in a board, 30 versions of a board, 200 notes.
- Shared sessions. Everyone in a shared session sees the canvas and its changes within a few seconds, and everyone in the session can edit it.
- What Genie reads. The text of a board and your notes are treated as data, never as instructions. Genie can read the layout and the boards with its own actions (canvas_read), and it asks before it writes, like it does for the editor.
- For admins. Site settings, Preview: Genie may draw on the canvas. Off: the tab disappears, the server refuses canvas calls and Genie has no canvas actions. It is on by default.
Using the canvas with Genie (asking it to draw, the Board chip, notes sent to it, locked parts) is covered in the Genie guide.