Skip to main content
Michel Araújo
New Member
April 4, 2025

We really need "fill" or "100%" option to set max-width and max-height!

  • April 4, 2025
  • 15 replies
  • 1923 views

Hey guys! I'm a product designer and a Figma lover. For along of those years, I saw Figma grown up and become even better, bringing to us designers a lot of new possibilities to work. But this is my first time that I want to request a feature ASAP, since creates a lot of pain. Hope everyone see this topic as something really useful too.

So, I usually works on web applications and thus I need to design both mobile, tablet and desktop version of the web pages.

And, when we speak about Design System, we need to make sure that our components will adapt on each screen, no matter the viewport size.

So, bringing this discussion to a real case: I made a component for my DS called “chip” with some variants as we can see on this print:

 The width’s component need to follow their inner content to keep growing on the sides as we can see:

but this growing effect (which is possible glad the ‘hug’) need to stop when reach the max width from the chip’s parent container and this, Figma can’t help me. So, the chip should grow to accommodate the text in width, up to a maximum determined by its parent, and then it should start growing downwards in height.

 

 I’ve tried a lot of things to simulate this behavior, creating equations and math to calculate the max-width based on the div/container where this chip are but none of the solutions really solves this issue. And I have problems like this:

 

Am I the only one suffering from this? Has anyone figured out how to get around this?

15 replies

Ari_Kogan1
New Participant
February 2, 2026

This has been a thorn in my side for years. Yet another feature that should be table stakes, and yet...

Thomas_Klepl
New Participant
April 13, 2026

Yup… I needed this today. Will have to do a manual workaround for each instance instead.

Ben_Ho
Active Member
April 14, 2026

I know the team is focusing on AI… but can we get some basic stuff first so we can use AI to do what simple CSS can do? Without them, Figma can’t truly go to code or visa-versa.

Bryce_Driesenga
Active Member
May 14, 2026

+1 here. Insane that there’s no way to do this!

Evie_Zhang
New Member
May 27, 2026

+1 really need this