Skip to content
BENIBIX Learn

Figma Auto Layout

Design🛠️ Design ToolsInterface Design Tools

Also known as Auto Layout, Auto Layout (Figma)

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

Think of it like

It is like a row of books held by bookends. Add a book, and the others slide over to make room.

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.

Definition

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 code

css
.button {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
}
An Auto Layout box works much like flexbox in CSS.

Common mistake

Nudging items by hand inside an Auto Layout frame. Set the gap and padding instead.

Key takeaways

  1. 1
    Row or column. With set gaps.
  2. 2
    Resizes to fit. Grows with content.
  3. 3
    Like flexbox. Easy to code.

Compare

Learn it properly