The canvas
The tools, how selection and nesting work, auto layout, and the shortcuts that make the canvas fast.
The canvas is the middle of the editor. Layers are on the left, the properties of whatever you've selected are on the right.
The tools#
| Key | Tool |
|---|---|
| V | Move — select and drag |
| F | Frame — a container, and a screen when it's at the top level |
| R | Rectangle |
| O | Ellipse |
| T | Text |
| I | Image |
| B | Button |
| N | Input |
Icons come from the Assets panel on the left, which has a searchable set from Lucide.
Frames are the important one#
Everything else is a shape. A frame is a box that holds other layers, and it is what makes a design a design rather than a drawing.
A frame at the top level of a page is a screen — it becomes a page in the app. A frame inside another frame is a group, a card, a row, a section.
Selecting#
Clicking selects the outermost thing under the pointer, which is almost always what you meant. To go deeper:
| Double-click, or Enter | One level in |
| Esc | Back out to the parent |
| Ctrl + click | Select a nested layer directly |
| Drag on empty canvas | Select everything inside the rectangle |
With several layers selected, the right panel offers alignment, even spacing, and the properties they have in common — a color or a corner radius set there applies to all of them.
Moving around#
| Space + drag | Pan |
| Ctrl + scroll | Zoom |
| Shift+1 | Zoom to fit everything |
| Shift+2 | Zoom to the selection |
Auto layout#
Auto layout makes a frame arrange its own children: in a row or a column, with a gap, with padding, aligned how you choose. Shift+A adds it.
It is the difference between a design that only works at one size and one that survives being turned into an app. A row of three cards laid out by hand has three fixed positions; the same row with auto layout re-flows when the screen is narrower, and in the generated code it becomes a flex container that does the same thing in a browser.
Within auto layout, each child's size is one of three things:
| Fixed | Exactly this many pixels |
| Hug | As small as its contents allow |
| Fill | Take whatever space is left |
A heading hugs. A card in a row fills. An avatar is fixed. Minimum and maximum widths are there for the cases where fill needs a limit.
One child can be taken out of the flow and placed freely inside its frame — a badge on a card, a close button in a corner — with Place freely.
Layout grid#
A frame can show a column grid — a number of columns, a gutter and a margin. It's a guide for lining things up, and it can be hidden once you're done.
Fills, strokes and shadows#
A layer can have a fill, and more than one stacked on top of it for a tint or a gradient. A stroke has a width, a style and a choice of which sides it's on. Shadows come as small, medium and large presets, with a custom mode for several at once, including inner shadows.
Two blurs: blur the layer and blur what's behind it, which is the frosted-glass effect.
Content that doesn't fit#
A frame decides what happens to children bigger than itself:
| Clip it | Cut at the frame's edge |
| Show it | Let it spill out |
| Scroll sideways | A carousel |
| Scroll down | A scrolling area |
A scrolling frame is still clipped on the canvas — scrolling only happens in the preview and in the app.
Text#
Double-click a text layer to edit it in place. Select words inside it and a small toolbar appears: bold, italic, underline, strikethrough, a color from your palette, and a link.
The right panel has the rest — size, weight, line height, letter spacing, upper/lower/title case, and alignment. Most of it is better set once as a text style.
Under the text color is a contrast readout, with the ratio against the background and whether it passes. It's the quickest accessibility check there is, and it's right there while you're picking the color.
Measuring#
Hold Alt and hover another layer: the distances between it and your selection are drawn, with the numbers. This is how you find the gap that's 17 instead of 16.
Find and replace#
Ctrl+F searches the text of every layer in the file, lists the matches by page and layer, and can replace one or all of them. Placeholder text in inputs is included.
Export#
Any layer can be exported as PNG or SVG, at 1×, 2× or 3×.
All the shortcuts#
The ? button in the corner of the canvas lists every shortcut, including the ones not on this page.
Next#
- Pages and screens Organise more than one screen.
- Colors, fonts and text styles Define them once.
- Components and variants Reuse what you've drawn.