Frames and screen sizes
A frame is a screen, a page or a box that holds other things. Start one at a phone's size, draw inside it, and turn it into a tablet: what's inside follows the rules you give it.

Everything on the canvas lives in a frame or is one. A screen of a Studio app is a frame. So is a page of a report, a drawer, a modal, a card on a screen and a row in a list. A frame is a box that holds other things: move it and they move with it, resize it and they follow rules you give them.
We drew on an empty part of the Starter app sample's canvas and didn't save, so the sample is unchanged.
A frame at a known size
The Frame menu in the toolbar adds an empty frame at a standard size, in the middle of what you're looking at: phones (iPhone 16, iPhone SE, Android Compact…), tablets (iPad mini, iPad Pro, Surface Pro 8), desktops and laptops, and paper (A4, A5, Letter…). We picked iPhone 16, 393 by 852, and renamed it Phone screen:

Sizes are in the units a browser uses for CSS pixels, so a 393-wide frame is a 393-wide phone screen. Paper sizes are in points: A4 is 595 by 842.
The Frame tool (F) draws a frame of any size: drag out a box, like a rectangle.
Drawing inside it
Anything you draw or drop with its centre inside a frame goes into the frame. We drew a rectangle across the top for a header, a frame inside the frame for a card with a circle in it, and a rectangle at the bottom for a button:

Layers shows it as a tree: Phone screen holds Header, Card and Button, and Card holds Avatar. A frame inside a frame is the usual way to build a screen: a card, a toolbar, a row.
Selecting the frame itself
Clicking inside a frame selects what's drawn there, because that's what you usually want. To select the frame, click once on an empty patch of it, or click its row in Layers. A drag from an empty patch draws a selection box around its contents instead.
A selected frame has its own properties:

Two things differ from a shape. There's no Rotation: a frame doesn't turn, because a screen doesn't. And there's Auto layout, which arranges what's inside into a row or a column for you; it has its own article later in the series.
Changing the size
Drag a frame's handles, or type a new W and H. Each thing inside it then follows its Constraints, which you set on the thing, not on the frame:
- the header: Left & right, so it stretches to the new width;
- the card: Left & right, the same;
- the button: Left & right, and Bottom, so it stays on the floor.
We typed 744 by 1,133, the size of an iPad mini:

The circle kept its size and its place: it's pinned to the top left of its card, which is the default for anything you draw. Constraints have an article of their own later in the series.
A frame, as the drawing stores it
In the document, a frame is a node of type frame that lists its children, and each child names its frame:
{ "type": "frame", "name": "Phone screen", "width": 393, "height": 852,
"fill": "token:color.background", "cornerRadius": 0, "clipContent": true,
"children": ["…header…", "…card…", "…button…"] }
{ "type": "rect", "name": "Button", "x": 16, "y": 780, "width": 361, "height": 48,
"fill": "token:color.primary", "cornerRadius": 8,
"constraints": { "horizontal": "left-right", "vertical": "bottom" },
"parentId": "…phone screen…" }
The button's constraints are the Left & right and Bottom you set: left-right stretches with the frame's width, bottom
keeps its distance from the frame's bottom edge. clipContent decides whether anything sticking out past the frame's edge is cut off,
which is what you want for a screen and often not for a card with a shadow.
Which size to start from
A Studio app is drawn for a desktop unless somebody asks for a phone: content sits in columns and side panels, a list is a table with a column per field, and a button is as wide as its words. Phones have their own screens when an app needs them, as the Capital planning sample's request screen does. A sensible starting size for each:
| Drawing | Frame | Why |
|---|---|---|
| A desktop app screen | Desktop, 1,440 × 1,024 | The common laptop and monitor width |
| A phone screen | iPhone 16, 393 × 852 | A typical modern phone; rows wrap down to smaller ones |
| A tablet screen | iPad mini, 744 × 1,133 | The smallest common tablet |
| A printed report page | A4, 595 × 842, or Letter | The paper it will be printed on |
| A drawer or modal | A width the content needs, e.g. 480 | It opens over a screen, not in place of one |
Constraints and auto layout are what let one drawing serve more than one size, so you rarely need a separate drawing for every width. Draw at the most common size, then try a narrower and a wider one by typing a new W.
Frames inside frames
Nearly every screen is a frame of frames. A useful way to think about it:
- The screen: the outermost frame, the size of the window.
- Regions: a top bar, a navigation rail, a content area. Each a frame with its own constraints.
- Cards and rows: frames inside the content area, usually arranged by auto layout.
- Shapes and text: the leaves.
Building in this order makes resizing predictable, because each frame only has to say how it relates to the frame around it. It also makes the Screen tab easy to fill in: a top bar is a region, a list of cases is a list, each case a list item, which is what the finished screen and a screen reader rely on. Roles: what each part of a screen is covers those.
When the same part is on every screen
A top bar or a navigation rail that appears on every screen shouldn't be drawn into every screen. Draw it once as a component, and place an instance in each screen. Then changing the bar changes it everywhere, and no screen can drift from the others. Components: draw once, use everywhere shows how; the Starter app's top bar and left navigation are built that way.
Questions that come up
Can a frame be rotated? No. A frame is a screen, a page or a box that holds things, and none of those turn. Rotate the shapes inside it instead.
What happens to something dragged out of a frame? Its centre decides: drop it with its centre outside, and it leaves the frame and goes onto the canvas or into whichever frame it landed in. Layers shows where it ended up.
Try it
On an empty part of any canvas, choose Frame → iPhone 16. Draw a rectangle across its top and set its horizontal constraint to Left & right. Click an empty patch of the frame, type a new W, and watch the rectangle follow.
Next: shapes, selecting them, and moving, resizing and turning them.