Skip to content
BENIBIX Learn

Auto Layout vs Resizing Constraints

People think Auto Layout and resizing constraints do the same job, and they do not. Auto Layout sizes a frame from what is inside it, so a button grows when its label gets longer. Constraints work the other way. They say what a layer does when the frame around it changes size, such as staying pinned to one corner.

Design🛠️ Design Tools

Figma Auto Layout

A Figma tool that lines things up in a row or a column. The box grows to fit.

Auto Layout is a Figma feature that arranges items in a row or a column with set gaps and padding. When content changes, the frame grows or shrinks to fit. A button gets wider when its label gets longer, and a list makes room for a new item. It works much like flexbox in CSS, which makes handoff to code easier.

Example
Leo types a longer word into a button. With Auto Layout, the button grows wider and its padding stays the same.
Why it matters
Designs behave like real code, so they hold up when the text or data changes.
Full entry
Design🛠️ Design Tools

Resizing Constraints

Rules for where a layer sticks, or how it stretches, when its frame grows.

Resizing constraints are rules that say what a layer does when its frame changes size. A layer can stay pinned to the left, right, top or bottom edge. It can stay in the center, or stretch to keep its distance from both sides. It can also grow and shrink with the frame. Designers use them to test one screen at many sizes.

Example
Tom pins a Send button to the bottom right of a phone frame. When he drags the frame taller, the button stays in the corner.
Why it matters
You can check one design on a small phone and a big one. Nothing has to be moved by hand.
Full entry

In one line

Figma Auto Layout
A Figma tool that lines things up in a row or a column. The box grows to fit.
Resizing Constraints
Rules for where a layer sticks, or how it stretches, when its frame grows.