Auto Layout

Design Systems

What is Auto Layout?

Auto layout is a Figma feature that makes frames resize and space their children automatically, so components like buttons, cards and lists adapt to content the way real UI does.

Auto layout lets designers set direction (horizontal or vertical), spacing between items, padding and alignment on a frame. When text gets longer or an item is added, the frame grows or shrinks on its own. It mirrors CSS flexbox closely, which makes handoff to developers more predictable.

Why it matters for SaaS UI

SaaS products are full of repeating, content-driven structures: navigation lists, settings rows, table toolbars, pricing cards, form fields with helper text. Building these with auto layout means one component can handle short and long labels, empty and full states, and different screen widths without manual nudging.

Patterns built with auto layout

  • Settings rows: label, description and control aligned in a row, stacked into sections. Compare real settings screens such as Hiver.
  • Cards and KPI tiles on dashboards that reflow into grids.
  • Forms with consistent vertical rhythm; see form patterns.

Tips

Use spacing values from your design tokens instead of arbitrary numbers, nest auto layout frames rather than mixing absolute positioning, and set "fill container" vs. "hug contents" deliberately. Checking your components against real product screenshots helps you catch spacing that looks fine in a mockup but breaks with real data.

See “Auto Layout” in Real SaaS Products

Related Terms