Lyna
SupportBlogOpen Lyna
Get startedFeaturesIntegrationsPromptingTips & TricksChangelog
Design

Frames and devices

Show your app at desktop, laptop, tablet and phone sizes side by side, resize a frame, rotate it and preview it in light or dark.

A frame is one live view of your app on the canvas. Put several frames side by side to check a page at different screen sizes, or different pages at once.

What you can do

  • Pick a device size for each frame, or type your own.
  • Rotate a frame between portrait and landscape.
  • Duplicate or delete a frame.
  • Preview a frame in light, dark or system theme.
  • Play or pause the animations of your page.
  • Browse between pages inside a frame.
  • Open the page in a new browser tab.

The frame bar

The bar above each frame holds the controls for that frame:

ControlWhat it does
Go back / Go forwardMove through the pages you opened in this frame.
DeviceShows the device kind and width, for example Phone 393.
PageThe page this frame shows. Pick another page, choose New Page, or Manage Pages.
Show spacing overlayDraws the padding and margins of the elements.
Show Mini ChatA small chat about the selected element, right on the canvas.
Design / WireframeSwitch the frame to a wireframe view. See Wireframe and blueprint.
RefreshReload the page in this frame.
Preview in new tabOpen the page of this frame in a new browser tab.

Change the device

Select the frame

Click the frame bar. A floating toolbar appears over the frame.

Open Device

Choose Device, then a family and a device. The frame takes that size.

FamilyDevices
DesktopDesktop (1440 x 1024), TV and iMac (1280 x 720)
LaptopMacBook Air 15, MacBook Pro 14, MacBook Pro 16, MacBook Pro, Surface Book
TabletiPad Mini 5, iPad Mini 8.3, iPad Air 10.9, iPad Pro 11, iPad Pro 12.9, Surface Pro 4, Surface Pro 8, Android Expanded
PhoneiPhone 17 Pro Max, iPhone 17 Pro, iPhone 17, Android Large, Android Small

Or type a size

Choose Custom, enter the Width and Height in pixels, then choose Apply.

The floating frame toolbar with Device, Rotate, Duplicate, Delete, the theme choice and Play animations.

The frame toolbar

ControlWhat it does
DeviceChoose a device size or a custom size.
RotateSwap the width and the height.
DuplicateAdd a copy of this frame next to it.
DeleteRemove this frame from the canvas. Your code is not touched.
Light / Dark / SystemPreview the frame in a theme.
Play animations / Pause animationsAnimations are paused while you design so selection stays accurate. Play them to watch the motion.

When the toolbar is short on room, some controls move into More.

Resize a frame by hand

Drag the edges or the corner of a selected frame. The size updates as you drag.

Frames are views, not copies

Every frame shows the same code. A change you make in one frame shows in all of them. Deleting a frame only removes that view from the canvas.

Shortcuts

ActionShortcut
Duplicate the selected frameCmd/Ctrl + D
Delete the selected frameDelete or Backspace
Selected frame to Desktop (1440 x 1024)Cmd/Ctrl + Shift + 1
Selected frame to iPad Pro 11 (834 x 1194)Cmd/Ctrl + Shift + 3
Add a frame to the selectionShift + click the frame bar

Next steps