> ## Documentation Index
> Fetch the complete documentation index at: https://wonder.design/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Frames, pages and layers

> Draw frames and start from size presets, frame a selection, organize a file into pages, and hide, lock, rename and find layers in the Layers panel.

A Wonder file is made of pages, each page holds frames, and every frame holds layers. This page covers how to make and organize all three.

**Before you start** · Web and desktop · Free plan

## Draw a frame

Frames are Wonder's boxes. A screen, a card, a button and a plain rectangle are all frames. Frames hold other layers, and become HTML elements when you take your design to code.

1. Click **Frame** in the toolbar, or press <kbd>F</kbd> (or <kbd>A</kbd>).
2. Drag on the canvas. A click without dragging makes a 100 × 100 frame.

Layers on the same level that sit completely inside the new frame move into it. When you're done, the tool goes back to **Move**.

A new frame is called "Frame" and clips what's inside it. On an empty spot of the canvas it gets a white fill. Drawn inside another frame, it has no fill, and joins that frame's auto layout if it has one. Change any of that in the Properties panel.

### Start from a size preset

While the Frame tool is on, the Properties panel shows a **Frame** section with sizes for common devices and formats. Click a category to open it, then click a size. Wonder adds a frame of that size, named after it, in free space on the canvas and zooms to it.

| Category | Sizes |
| - | - |
| **Phone** | iPhone 17, iPhone 18 Pro, iPhone Air, iPhone 18 Pro Max, iPhone Duo Folded, iPhone Duo Open |
| **Tablet** | iPad Air 11", iPad Mini 8.3" |
| **Desktop** | MacBook Air, MacBook Pro 14", MacBook Pro 16", Desktop (1920 × 1080), TV (3840 × 2160) |
| **Presentation** | Slide 16:9, Slide 4:3 |
| **Smartwatch** | Series 10 42mm, Series 10 46mm |
| **Paper** | A4, A5, A6 |
| **Social media** | OpenGraph, X Post, X Header, Instagram Post, Instagram Story, LinkedIn Banner |

Each size shows its width and height in the list.

![The Frame section of the Properties panel with Phone open: iPhone 17, iPhone 18 Pro, iPhone Air, iPhone 18 Pro Max, iPhone Duo Folded and iPhone Duo Open with their sizes, then the closed Tablet, Desktop, Presentation, Smartwatch and Paper categories](https://mintcdn.com/wonder-0722b0f6/Ig4tBDjfjeU3SKs6/images/canvas-basics/frame-sizes.light.webp?fit=max\&auto=format\&n=Ig4tBDjfjeU3SKs6\&q=85\&s=bd8bb18f1e59c31da3df4ed63bd8f39c)

![The Frame section of the Properties panel with Phone open: iPhone 17, iPhone 18 Pro, iPhone Air, iPhone 18 Pro Max, iPhone Duo Folded and iPhone Duo Open with their sizes, then the closed Tablet, Desktop, Presentation, Smartwatch and Paper categories](https://mintcdn.com/wonder-0722b0f6/Ig4tBDjfjeU3SKs6/images/canvas-basics/frame-sizes.dark.webp?fit=max\&auto=format\&n=Ig4tBDjfjeU3SKs6\&q=85\&s=639abb2faf12c6e71f024f107ceb1d39)

## Frame a selection

Wonder has no groups. To keep layers together, put them in a frame:

* **Frame selection** (<kbd>⌘</kbd><kbd>G</kbd>) wraps the selected layers in a new frame that fits around them. The new frame has no fill and doesn't clip. When an auto layout can keep the layers exactly where they are, Wonder adds one that hugs them.
* **Unframe selection** (<kbd>⌘</kbd><kbd>⇧</kbd><kbd>G</kbd>) removes the selected frame and leaves its layers in its place.

Both are also in the right-click menu under **Layout**, and in the command palette (<kbd>⌘</kbd><kbd>K</kbd>). To learn more about auto layout, see [Layout](https://wonder.design/docs/layout.md).

## Name and label frames

Each frame at the top level of a page shows its name above it on the canvas. Click the name to select the frame, drag it to move the frame, and double-click it to rename the frame.

Once such a frame has layers inside it, a click inside it selects what's under the pointer, never the frame itself. To select the frame, click its name, or its row in the Layers panel.

To hide a frame's name, hover its row in the Layers panel and click **Hide label**, or right-click the frame and choose **Hide label**. **Show label** brings it back.

## Work with pages

A file can have up to 25 pages. The **Pages** panel at the top of the left sidebar lists them. With the left sidebar closed, click the page name at the top left to switch pages, or search them with **Search pages…**.

* **Add a page.** Click **+** (**Add page**) in the Pages panel, or run **New page** from the command palette. Wonder names it "Page 2", "Page 3" and so on.
* **Rename a page.** Double-click it, or right-click it and choose **Rename**.
* **Reorder pages.** Drag a page up or down the list.
* **Delete a page.** Right-click it and choose **Delete**, then **Delete page**. This removes the page and its layers for everyone who can open the file. You can undo it with <kbd>⌘</kbd><kbd>Z</kbd> until you close the file. A file always keeps at least one page.
* **Move layers to another page.** Right-click them and choose **Move to page**.

Press <kbd>Page Up</kbd> and <kbd>Page Down</kbd> to go to the previous or next page.

### Change the page background

Click an empty spot on the canvas so nothing is selected. The Properties panel shows a **Page** section with the background color. Click the color to change it, or click the eye to hide the background.

## Use the Layers panel

The **Layers** panel in the left sidebar lists everything on the page as a tree: each frame with the layers inside it.

![The Pages panel with Page 1, and below it the Layers panel listing four frames: Avatar, Card, Settings and Home screen](https://mintcdn.com/wonder-0722b0f6/Ig4tBDjfjeU3SKs6/images/canvas-basics/layers.light.webp?fit=max\&auto=format\&n=Ig4tBDjfjeU3SKs6\&q=85\&s=81ea3011b1a0e0dc07d8e3f1e8986ac3)

![The Pages panel with Page 1, and below it the Layers panel listing four frames: Avatar, Card, Settings and Home screen](https://mintcdn.com/wonder-0722b0f6/Ig4tBDjfjeU3SKs6/images/canvas-basics/layers.dark.webp?fit=max\&auto=format\&n=Ig4tBDjfjeU3SKs6\&q=85\&s=414be47a25de24bf34eb03da303a4d22)

Its icons tell layers apart: frames, text, SVGs and shaders. A frame with an auto layout shows its direction.

* **Select.** Click a row. <kbd>Shift</kbd>-click selects a range, and <kbd>⌘</kbd>-click adds or removes one layer. Hovering a row highlights the layer on the canvas.
* **Open and close.** Click the arrow next to a frame. <kbd>⌥</kbd><kbd>L</kbd> closes every frame except the ones around your selection.
* **Zoom to a layer.** Double-click its icon.
* **Move layers.** Drag a row above or below another row, or onto a frame to put it inside. Hold a dragged row over a closed frame to open it. Press <kbd>Esc</kbd> to cancel.

On Windows, use <kbd>Ctrl</kbd> for <kbd>⌘</kbd> and <kbd>Alt</kbd> for <kbd>⌥</kbd>.

### Hide and lock layers

Hover a row to show its buttons:

* **Hide layer** hides it on the canvas. Press <kbd>⌘</kbd><kbd>⇧</kbd><kbd>H</kbd> to hide or show the selection.
* **Lock layer** keeps it from being selected or moved on the canvas. Press <kbd>⌘</kbd><kbd>⇧</kbd><kbd>L</kbd> to lock or unlock the selection.

Drag down the column of buttons to hide or lock several rows at once. Hidden and locked layers keep their button showing, so you can find them again.

### Rename a layer

Double-click the row, or select the layer and press <kbd>⌘</kbd><kbd>R</kbd> or <kbd>F2</kbd>. Press <kbd>Enter</kbd> to save or <kbd>Esc</kbd> to cancel. With several layers selected, they all get the name you type.

### Find a layer

Press <kbd>⌘</kbd><kbd>F</kbd>, or click **Find layer** at the top of the Layers panel, and type in **Find layer by name**. The list shows only the layers whose names match, including ones inside closed frames. Click a result to select it and scroll to it. Press <kbd>Esc</kbd> to close the search.

The command palette (<kbd>⌘</kbd><kbd>K</kbd>) also finds layers. It matches the text inside text layers as well as names.

To pick a layer that's hidden under others on the canvas, see [Select and arrange layers](https://wonder.design/docs/select-and-arrange-layers.md#select-a-layer-under-others).

## If something goes wrong

### "Files currently support up to 25 pages."

The file has as many pages as it can hold. Delete a page you don't need, or move some of the design into another file.

### I can't select a layer on the canvas

It may be locked. Find it in the Layers panel and click **Unlock layer**.

### A layer is missing from the canvas

It may be hidden, or outside its frame while the frame clips its content. Find it in the Layers panel with <kbd>⌘</kbd><kbd>F</kbd>, then click **Show layer**, or select the frame and turn off **Clip content** in the Properties panel. See [Fills, borders and effects](https://wonder.design/docs/fills-borders-and-effects.md).

### Delete is greyed out for a page

A file needs at least one page. Add another page first.

## Related

* [Canvas basics](https://wonder.design/docs/canvas-basics.md)
* [Select and arrange layers](https://wonder.design/docs/select-and-arrange-layers.md)
* [Copy and export](https://wonder.design/docs/copy-and-export.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.