Skip to main content

Set grid row height to "hug" contents

  • May 9, 2025
  • 61 replies
  • 5465 views

Show first post

61 replies

Claire Paoletti

I’ve ran into the same issue. 


Purrgil
  • New Member
  • May 22, 2025

The new grid function is so bad and is worse than the previous verison.


Tiziano
  • Active Member
  • May 27, 2025

Figma Grid is missing the option to input a variable in the gap field:

 


We need to be able to give this parameter a Token.


y_toku
Figmate
  • Community Support
  • May 29, 2025

Hi ​@Tiziano,

 

Thanks so much for reaching out and for taking the time to explore our newly released Grid. We’re excited to see your early engagement and value your feedback.

Our Engineering team has reviewed this closely and confirmed that the behavior you’re seeing is a known issue. The good news is that it’s already on our radar and has been prioritized as future release. 

I’ve also personally shared your feedback directly with our Product and Engineering teams for future improvements. So, let me change the category into “Suggest a feature”.

We’ll keep you updated as we make progress and will share more details as soon as they become available. In the meantime, feel free to reach out if there’s anything else I can support you with.

 

Thanks again,

Toku


Grant_Galtney

I was super pumped to start using grids for my layouts until I learned of one fatal flaw that killed my excitement :(  The inability to set a row height to hug is simply a deal-breaker for me.

 

Also no variables support for gaps? really?

this is definitely a tablestake that should have shipped


Matthew_Ryan
  • New Participant
  • May 30, 2025

Adding my +1 for this. Until it supports hug it’s not really a useful feature.


Henrik_Andersen

They should just add the ability to set Coloumns and Rows in an Auto-layout and then we would be happy :) - oh and percentage bases padding/margin and gaps 😁

Grids are so lame and also that it defaults to grids when you add auto-layout to some older designs that are not in an autolayout.


vao433
  • June 3, 2025

I really cannot understand how this feature went out, beta or not, without this. There is virtually no practical use without it. 


innovationsraum

Still no update on this? Really bummed…


Oleg_Zolotarsky

it was stupid to add this half feature 


Neil_Norman
  • New Member
  • July 1, 2025

I couldn’t agree more – the lack of Hug Contents and variables for grid gaps are complete deal-breakers for me. I was really hoping grid layout was the solution to the frustration of auto-layout not honoring the layout guide (the artist formerly known as layout grid). I’ve a component currently in production which can’t be faithfully recreated in Figma because of these issues. Perhaps I expect too much from Figma, but if I can open up an inspect panel in Figma like any other browser, I would also like to believe true CSS responsive grid layout would be possible.


daken
  • Active Member
  • July 5, 2025

Frank_K
  • Active Member
  • July 8, 2025

I was super pumped to start using grids for my layouts until I learned of one fatal flaw that killed my excitement :(  The inability to set a row height to hug is simply a deal-breaker for me.

 

Also no variables support for gaps? really?

just tested and effectively there is no grid, without auto hugging to contents it’s useless


porobertdev
  • New Member
  • July 18, 2025

I get it’s beta, but it’s not even usable at all. Wasted like 15 mins trying to find a workaround.

 

Just tried in Penpot and went flawless pretty much.

The only thing that’s holding me from switching to them is the community which is still growing, and their rendering is still slow at times on my laptop.

 


Frank_K
  • Active Member
  • July 21, 2025

I feel penpot could overtake figma if they aren’t careful, feels like figma are concentrating on other products right now (sites, buzz, draw etc), eye off the ball maybe? There are a lot of ideas on the ‘backlog’ that have been sat there for years now that should already be part of Figma.


Caleb Heidel
  • New Participant
  • August 1, 2025

Just adding on to this! I need a ‘hug’ setting for row heights! seems like a obvious this and I’m assuming ya’ll are working on it? :D please please please!


Caleb Heidel
  • New Participant
  • August 1, 2025

@Junko3 do you know if this is being worked on? It looks like Penpot already does this perfectly… :/ 


Glenn_Robertson1

This and the ability to set them to %…  Figma really needs to a streamlined way to set hug - fill size percentages %, min - max and all those things you do in a real web app. 
It’s such a pain to hack your way into telling a developer we want this to be 8VW with min width 44px and max width 120px. Or give us a command line so we can set our own CSS on objects. 


Anna Willoughby [External]

wish they’d stop shoving AI garbage that literally no one wants into the app and spend some time fixing stuff like this instead.


Anna Willoughby [External]

@Junko3 do you know if this is being worked on? It looks like Penpot already does this perfectly… :/ 

yepppppp penpot is honestly what i use for my own personal design work now because figma is just on another planet from what designers actually need.


Pavlo_Kiselov
  • Active Member
  • August 13, 2025

Seems like there a way to create rows and columns that hug content. Here is how you can do it

  1. Create a frame
  2. Hit Shift+A, make it auto layout frame, make sure that sizing is set to HUG both directions
  3. Convert it to grid
  4. Now you have 2x2 grid with auto sized rows and cols

There is no direct way to enable this sizing option within the UI, however if you add a layer inside and then you duplicate it it would add another column with “Hug” sizing enabled

 


Not quite clear how to add more rows though...


Johnson_Ryan
  • Active Member
  • August 13, 2025

Seems like there a way to create rows and columns that hug content. Here is how you can do it

  1. Create a frame
  2. Hit Shift+A, make it auto layout frame, make sure that sizing is set to HUG both directions
  3. Convert it to grid
  4. Now you have 2x2 grid with auto sized rows and cols

There is no direct way to enable this sizing option within the UI, however if you add a layer inside and then you duplicate it it would add another column with “Hug” sizing enabled

 


Not quite clear how to add more rows though...

Clever trick! Sadly, additional rows/cols initialize as “Auto”. I guess it’s a sign that it’s possible, but maybe it’s just not fully implemented yet.


Johnson_Ryan
  • Active Member
  • August 13, 2025

fwiw, I’m able to tweak the grid configuration through the plugin API, to apply various layouts that aren’t yet available via the Figma UI.  However, it requires setting configuration options that aren’t yet documented in the plugin API.  This gives me hope that this feature is coming sooner than we expect.


Pavlo_Kiselov
  • Active Member
  • August 14, 2025

Seems like there a way to create rows and columns that hug content. Here is how you can do it

  1. Create a frame
  2. Hit Shift+A, make it auto layout frame, make sure that sizing is set to HUG both directions
  3. Convert it to grid
  4. Now you have 2x2 grid with auto sized rows and cols

There is no direct way to enable this sizing option within the UI, however if you add a layer inside and then you duplicate it it would add another column with “Hug” sizing enabled

 


Not quite clear how to add more rows though...

Clever trick! Sadly, additional rows/cols initialize as “Auto”. I guess it’s a sign that it’s possible, but maybe it’s just not fully implemented yet.

Duplicating frames inside the grid would create extra columns and rows with “Hug” sizing inherited. This is the only way I found yet. 


Jyoti_Ghadge
  • New Member
  • August 20, 2025

Without hug content, grids are not of much use.