Skip to main content
london
January 25, 2022

Add Margins To Auto Layout

  • January 25, 2022
  • 44 replies
  • 25591 views

Auto-Layout has padding (inner spacing), but no margins (outer spacing).

Currently the only 2 ways to add spacing is to:

  • Create a spacer element or
  • Wrap the items in another frame and apply gap spacing
    • This creates a lot of unnecessary frames, and sometimes creates nesting so deep it goes outside the layers panel.

Not sure if a technical limitation left this out of consideration in the first few versions of Auto Layout, but it would be much appreciated if it were included in a future version as it comes up as a significant limitation many times a day.

44 replies

Aidil_Goh
New Participant
October 29, 2024

Not a high priority as I can still kinda create margins with autolayouts and extra layers, but would be a big help if the margin property is shown in dev handoff.

Luke-Itineris
Active Member
November 7, 2024

When is this due to be implemented?

Aldo_Omar
December 2, 2024

We need margins plis.

Victor_Morales
New Participant
December 6, 2024

I want to be able to assign individual margins to elements within the Autolayout.

Be logic and systhematic, but, overall, be human.
Leo_Torres
December 28, 2024

Super disappointed this is not supported yet. Bonus points if we ever get collapsible margins like in CSS!

Maria_Soliman
New Participant
February 3, 2025

Yes we need margins please! For handoff, for rebuilding existing components, for our sanity!

Thibault GRONDIN B.
New Member
March 4, 2025

Just bringing this back… because we would love this!

the only workarounds are:

  • Adding spacer elements (which clutters the layout).
  • Wrapping elements in extra frames to apply gap spacing (which creates unnecessary nesting).

:/

Marvin Lamart
New Member
March 4, 2025

+1, that would be really usefull !

Wolf Howard
New Member
March 5, 2025

As a “dev-forward” PM trying to put together mockups in a way that simplifies assumptions for my developers, would really love this. I try to set things up with the end-CSS in mind and it can get very clunky to hand endless div elements then ask them to work backwards to what actually makes sense for our site configs.

Katy_Sunderhaus
New Member
March 16, 2025

I keep checking this forum for an update, as I can’t believe that margins are not available yet!! Please add them FIGMA!