Figma currently lacks a native “one-click” button to swap the width and height of a Frame. When you need to quickly switch a design from Landscape to Portrait, manually typing the numbers can be tedious.
Use this “Rotate-and-Wrap” shortcut to get it done in seconds.
Quick Steps (Windows / Mac)
- Duplicate the Frame: Select your target Frame and press
Ctrl + D(Win) orCmd + D(Mac) to create a backup in place. - Rotate 90°: Hover near a corner until the double-arrow appears. Hold
Shiftand drag to rotate the Frame exactly 90 degrees. - Create a Wrapper Frame: While the rotated Frame is selected, press
Ctrl + Alt + G(Win) orCmd + Option + G(Mac). This wraps your rotated Frame inside a new, upright Frame. - Clean Up: Select the new outer Frame, and delete (or ungroup) the original rotated Frame inside it.
The Result: The new outer Frame now inherits the swapped width and height dimensions perfectly.
💡 Why use this method?
While you could simply type the numbers into the W and H fields, the Rotate-and-Wrap method is often safer for complex layouts. If your Frame uses Auto Layout or specific Constraints, simply swapping numbers can sometimes “squash” your elements. This method ensures the container adapts to the orientation first.


Leave a Reply