Arts & creativity / QUICK REFERENCE
Figma shortcuts and responsive auto layout
Build responsive Figma frames, components and variants with keyboard shortcuts and practical sizing settings.
Find tools and common shortcuts
- Add auto layout
- Shift + A (Mac and Windows)
Wrap a selected frame or layers in an auto layout container. [1][2][3][5][8][6]
- Remove auto layout
- Option + Shift + A (Mac); Alt + Shift + A (Windows)
Remove auto layout behavior from the selection. [1][2][3][5][8][6]
- Suggest auto layout
- Control + Shift + A (Mac); Ctrl + Alt + Shift + A (Windows)
Ask Figma to suggest the layout structure for selected layers. [1][2][3][5][8][6]
- Create main component
- Option + Command + K (Mac); Ctrl + Alt + K (Windows)
Turn selected design layers into a reusable main component. [1][2][3][5][8][6]
- Create frame from selection
- Option + Command + G (Mac); Ctrl + Alt + G (Windows)
Wrap chosen layers in a frame while retaining their positions. [1][2][3][5][8][6]
- Duplicate selected frame
- Command + D (Mac); Ctrl + D (Windows)
Make a duplicate of the selected frame or component. [1][2][3][5][8][6]
- Open actions menu
- Command + K (Mac); Ctrl + K (Windows)
Search Figma Design actions and commands by name. [1][2][3][5][8][6]
- Insert component from library
- Shift + I (Mac and Windows)
Opens quick insert so you can search available components. [1][2][3][5][8][6]
- Switch to Assets
- Option + 2 (Mac); Alt + 2 (Windows)
Select the Assets panel to find reusable components. [1][2][3][5][8][6]
- Open keyboard layout settings
- Help / Keyboard shortcuts → Layout
Select supported key mapping if not using the default US layout. [1][2][3][5][8][6]
Choose auto layout structure
- Horizontal auto layout
- Auto layout → Horizontal
- Vertical auto layout
- Auto layout → Vertical
Children stack top to bottom and reflow when reordered. [1][7]
- Nested auto layout
- Put a vertical frame inside a horizontal frame
Combine navigation, labels and repeated cards with independent sizing. [1][7]
- Horizontal padding
- Auto layout → Left / Right padding
Space the first and last child away from the frame border. [1][7]
- Vertical padding
- Auto layout → Top / Bottom padding
- Alignment control
- Auto layout → Alignment
Choose the cross-axis and main-axis positioning within the frame. [1][7]
- Packed arrangement
- Spacing mode → Packed
Preserve explicit gaps between successive layers in a group. [1][7]
- Space between distribution
- Spacing mode → Space between
Distributes free room between sibling layers on the main axis. [1][7]
- Absolute-positioned child
- Layer positioning → Ignore auto layout
Place an overlapping badge or decoration without affecting flow. [1][7]
- Auto layout for a button
- Text layer → Shift + A → add padding
Lets the button background grow as its label changes. [1][7]
Responsive resizing choices
- Hug contents
- Resizing → Hug contents
Parent frame resizes around its children on the selected axis. [1][7]
- Fill container
- Child resizing → Fill container
Occupies available width or height within an auto layout parent. [1][7]
- Fixed width
- Resizing → Fixed width
Keeps the layer's width constant despite surrounding changes. [1][7]
- Min width
- Resizing → Minimum width
Prevents a responsive element from shrinking below a defined lower bound. [1][7]
- Hug via canvas edge
- Double-click an auto layout frame edge
- Fill via canvas edge
- Option / Alt + double-click a frame edge
- Fixed-sized icon
- Icon width and height → Fixed
Keeps icons stable while text or buttons grow around them. [1][7]
- Responsive text layer
- Text width → Fill container
Components, variants and checks
- Turn a button into component
- Select button layers → Create component
Reuse its styling while editing main component centrally. [3][4][8][2]
- Add a hover variant
- Main component → Add variant
- Group related variants
- Combine as variants
Keep similar component states inside one component set. [3][4][8][2]
- Name variant properties
- Property = State; values = Default / Hover
Clear names let instance users select the intended configuration. [3][4][8][2]
- Configure instance
- Select instance → right panel variant property
- Duplicate an instance
- Command + D / Ctrl + D
Another instance stays linked to its main component. [3][4][8][2]
- Maintain component documentation
- Add description / link to component
Provide purpose and usage notes for colleagues. [3][4][8][2]
- Select a frame preset
- Frame tool → choose device/paper preset
Start with named dimensions rather than arbitrary bounds. [3][4][8][2]
- Rename nested layers
- Layers panel → meaningful labels
Descriptive naming makes inherited layouts understandable. [3][4][8][2]
- Inspect frame hierarchy
- Layers panel → parent versus child nesting
Moving a layer to the wrong parent changes its layout behavior. [3][4][8][2]
- Preserve image ratio
- Image → Aspect ratio setting
Helps media scale without unintended distortion. [3][4][8][2]
- Check narrow viewport
- Resize parent frame to mobile width
Reserved placement, separate from reference controls. No ad network is active.
No matching entry. Try a shorter word or clear the search to see the complete sheet.
Choose what resizes: parent or child?
The illustrated width axis is horizontal, left to right. These are conceptual geometry examples, not a Figma canvas screenshot. Labels show what changes when the parent or its content gets wider.
Hug contents Parent frame
The auto-layout frame grows with its child. Each side has 10px padding.
Choose for a content-driven parent, such as a label-sized button.
Fill container Child layer
A child occupies available space inside a fixed-width auto-layout parent.
Choose for a child that should take the parent’s spare width.
Fixed width Selected layer
The selected layer keeps one width even when its outer frame grows.
Choose when a specific width must not adapt to surrounding space.
Figma caveat: When a child on an axis uses Fill container, its parent on that axis no longer uses Hug contents and switches to Fixed. See Figma’s Auto Layout guide. These CSS models illustrate the sizing relationship; they do not execute Figma.
Sources
cheatsheetatlas.com/sheets/figma-auto-layout/ · Updated 2026-10-20 · Figma Design · October 2026