Skip to main content
london
Jan 25, 2022 7:00 PM UTC

Add Margins To Auto Layout

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.

45 replies

Aidil_Goh
New Participant
Oct 29, 2024 2:24 AM UTC

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
Nov 7, 2024 4:12 PM UTC

When is this due to be implemented?

Aldo_Omar
Dec 2, 2024 1:44 AM UTC

We need margins plis.

Victor_Morales
New Participant
Dec 6, 2024 2:56 AM UTC

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

Be logic and systhematic, but, overall, be human.
Leo_Torres
Dec 28, 2024 8:42 AM UTC

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

Maria_Soliman
New Participant
Feb 3, 2025 4:12 PM UTC

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

Thibault GRONDIN B.
New Member
Mar 4, 2025 10:36 AM UTC

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
Mar 4, 2025 2:33 PM UTC

+1, that would be really usefull !

Wolf Howard
New Member
Mar 5, 2025 2:02 AM UTC

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
Mar 16, 2025 9:47 PM UTC

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