OverlayFlow

How to Enable Auto Layout in Figma ?

Learn how to use Auto Layout in Figma to create dynamic frames that grow or shrink as you change their content. This powerful feature makes building responsive components and layouts a breeze.

Select layers and press Shift A, or click the '' in the Auto layout section.

How to Add Auto Layout to Your Figma Designs

1

Select Your Layers

Start by selecting two or more objects on your canvas. These can be shapes, text layers, components, or even other frames.

2

Apply Auto Layout

With your layers selected, use the keyboard shortcut Shift + A. Alternatively, you can right-click the selection and choose Add auto layout, or click the + button next to 'Auto layout' in the right sidebar.

3

Configure Auto Layout Properties

Once applied, a new 'Auto layout' section will appear in the right sidebar. Here you can control the direction (vertical or horizontal), spacing between items, and padding around the content.

4

Add, Remove, and Reorder

Drag new objects into the Auto Layout frame to add them. They will automatically position themselves based on your settings. You can also drag items within the frame to reorder them or select an item and press Delete to remove it.

💡 Pro Tips

Pro Tips for Using Auto Layout

🧱

Nest Auto Layout Frames

Create complex, responsive components by placing auto layout frames inside other auto layout frames. This is key for building entire interfaces.

↔️

Master Hug vs. Fill

Use 'Hug contents' to make the frame resize to its children, and 'Fill container' to make a child element stretch to fill the available space within its parent.

📍

Use Absolute Positioning

For elements like notification badges that need to overlap, select the item inside an auto layout frame and click the 'Absolute position' icon in the top-right of the Frame panel.

📐

Set Individual Padding

In the Auto layout panel, you can set uniform padding or click the 'Independent paddings' icon to specify different values for top, right, bottom, and left.

Need help right into Figma?

Try Overlayflow, it's an AI software assistant that can answer any questions and show you on screen where to click!

Now available for any popular app.
3-day free trial. No credit card required. Then $59 one-time payment.