GLOSSARY

What is Auto Layout?

Table of content
Definition

Definition

Auto Layout is Figma’s layout system for automatically arranging and resizing frames and components based on content, spacing, padding, alignment, and sizing rules.

TL;DR

  • Auto Layout is a Figma feature for creating rule-based layouts.
  • It controls direction, gap, padding, alignment, wrapping, and resizing.
  • Auto Layout helps components respond when content changes.
  • Nested Auto Layout can model complex interface structure.
  • Good Auto Layout makes design files easier to maintain and closer to responsive implementation logic.

What does Auto Layout do?

Imagine a button where the label changes from “Save” to “Save changes to workspace.” Without layout rules, the designer may need to resize the button manually.

With Auto Layout, the button can keep defined horizontal padding while expanding automatically around the content.

The same idea can apply to cards, navigation, forms, tables, and entire screen sections.

Core Auto Layout concepts

Direction

Children can be arranged horizontally or vertically.

Gap and padding

Rules control spacing between items and space around the container.

Alignment

Items can align relative to the container and each other.

Resizing

Elements can hug content, use fixed dimensions, or fill available space depending on the layout.

Wrapping

Items can flow onto additional lines when space becomes constrained.

Auto Layout vs. responsive design

Responsive design is a broader product and implementation approach. Auto Layout is one Figma mechanism for expressing flexible layout behavior in design files.

A file can use Auto Layout and still have poor responsive decisions if content priority and breakpoint behavior are undefined.

Why does Auto Layout matter in a design system?

Reusable components need to handle changing labels, states, sizes, and content without breaking. Auto Layout encodes those rules so instances behave more predictably.

It also reduces manual cleanup when screens are exported, duplicated, or updated.

Common mistakes

Nesting without a clear structure

Too many unnecessary frames make files difficult to understand.

Using fixed sizes everywhere

This defeats much of the flexibility Auto Layout provides.

Treating Auto Layout as the same as production CSS

The concepts overlap, but implementation still requires engineering decisions.

The bottom line

Auto Layout asks: what layout rules should make this Figma component or frame adjust automatically when its content or available space changes?

Related terms

Responsive design · Component · Component variant · Design system

Relevant Figr resource

Read Figr’s User Interface Design Guide for the broader UI workflow around reusable, responsive components.

Related Figr Projects

No items found.