Skip to content
UI & UX Design

Figma Auto Layout and Variables: The Decisions That Matter

Figma features that make designs respond to content and support themes through reusable values.

MediaScaleUp Editorial Team 2 min read 14 views
Figma Auto Layout and Variables: The Decisions That Matter

Why does it matter?

They make design files behave more like real interfaces, reducing surprises at handover.

What are the numbers?

  • Auto layout resizes frames as content changes
  • Constraints control how elements respond to resizing
  • Variables store reusable values such as colors and spacing
  • Modes variables can switch between themes such as light and dark

What should I do?

  1. Build components with auto layout
  2. Use variables for colors and spacing
  3. Test designs with long and short content
  4. Set up modes for themes
  5. Keep naming aligned with code tokens
What to do and what to avoid with Figma auto layout and variables, side by side
Good practice against the usual mistakes, from the sources listed below.

What should I avoid?

Avoid:

  • Fixed-size components
  • Hard-coded colors
  • Designs that break with real content
  • Variable names unrelated to code

When should I get help?

Short answer Bring in help when design and code tokens must stay aligned.

Where this comes from

The figures and practices above come from the sources listed.

Working on something like this?

We take on UI & UX Design work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.

Where to go next

Spotted something wrong? Report an error on this page. We correct on the page and say what changed.

All services

The work behind this article, and what it costs.

MediaScaleUp Editorial Team

Articles here are researched, written and checked by the MediaScaleUp studio team before they are published, and dated when they are reviewed.

Keep reading