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

    rice-cracker-dev
    New Member
    Mar 24, 2025 8:16 AM UTC

    It’s been months and still no updates? This feature would be useful

    tiagoandbruna
    New Member
    Mar 27, 2025 11:11 AM UTC

    We need margins, pleaseeee!

    Drago1520
    New Member
    May 4, 2025 3:04 PM UTC

    what is this stupid software that does not have margins?????

     

    Aretha Alves
    New Member
    May 12, 2025 12:40 PM UTC

    Penpot (an open source alternative to Figma) already provides the margin property and Figma still doesn’t… Really disappointing!

    Aurélien Grateau
    New Member
    Jun 18, 2025 8:27 AM UTC

    Even if I’m not a regular margin user, I wonder why such a feature does not exist on Figma.
    this would be better to fit reality.

    Even padding are related to gap when we create variables which has no sense in my opinion.

    This could lead to mistakes when you select variable for paddings or margins as you can only put them in “Gap (Auto layout)” + non-clear css in dev mode.

    In my exemple, the values in my auto layout paddings comes from :
    - Gaps variables group for the 16.
    - Margins variables group for the 32.

    I should have been able to select only values related to the Paddings group I made.

    This might lead to real issues and I really wonder why it hadn’t be fixed for more tha three years.

    Please, Figma team, I think you should take this issue seriously.

    Thanks for reading.

    Tyler Carolan
    New Member
    Oct 21, 2025 7:06 PM UTC

    This astonishes me that you don’t include margins. This is a MASSIVE flaw within Figma, very disappointing because it just seems like lazy programming. How do you just ignore a fundamental piece of CSS?

    Antonio_Terrero
    New Member
    Nov 11, 2025 2:31 PM UTC

    Let’s bump it once more. Maybe the next step is adding this and not some AI feats.

    Victor_Morales
    New Participant
    Jan 8, 2026 11:08 PM UTC

       It'd be so easy to be implemented...

     

    Be logic and systhematic, but, overall, be human.
    andrdinis
    New Participant
    Jan 26, 2026 3:10 PM UTC

    +1

    Kinetic_Pixels
    New Member
    Feb 7, 2026 12:07 AM UTC

    Its 2026 and seems as if figma’s only focus is on adding more AI bloat and paywalled features … yet can’t even provide simple layout control that has been in the CSS and box-model spec for decades. 

    ADD MARGINS/outer-spacing control to Auto-layout ffs 😡