Auto Layout
Layout rules that make frames resize and reflow automatically, as in Figma.
See it on the 3D treeGoing deeper
A frame is told its direction, the gap between children, its padding and whether its width and height each hug the contents, fill available space or stay fixed. Adding text or removing an item then moves the rest automatically. The ideas resemble CSS Flexbox, and Figma also offers wrapping and grid arrangements.
Why it matters
Designs survive real and changing content, and they behave more like the built product, which exposes layout problems early.
In practice
A button label changes from Save to Save changes and the button widens while keeping its padding.
Common mistake
Fixing widths and heights by habit, so longer or translated text clips or overlaps.
Connected terms
- Constraints and PinningThe other resizing tool, suited to layers positioned freely within a frame.
- FigmaAuto layout is a core Figma feature for building resizable frames.
- FlexboxAuto layout's direction, gap and sizing options map closely to Flexbox concepts.