Skip to main content
Mark_McIntyre
New Participant
Apr 17, 2024 10:09 AM UTC

Allow percentages for line height

Firstly great job Figma Font variables are here!!!

The only thing missing is the use of percentages in the line-height property.

You can not use a percentage in the line-height as it only accepts variables that are a number type.

Although the variables for line-height caters for pixel (absolute) line-heights (10,12,14)- it does not accommodate relative line heights.

In other words you can’t use percentage variables for line heights that are a percentage of the font size (100%, 120%,150%).

Interestingly …You can use a variable for letter-spacing ( which accepts a number variable - but reads it as a percentage) - the challenge remains that line heights by default are absolute not percentages - even though you can input a percentage.

Percentages allow greater flexibility and less calculations

Word around would be to allow formula in a variable
e.g. =[variable] * 1.5

Or figuring out a way for the line height to be toggle between absolute or relative application of the number variable.

198 replies

Maria96
New Member
Jul 7, 2025 8:32 AM UTC

+1!!

Leo_Vogel2
New Participant
Jul 7, 2025 3:01 PM UTC

+1

Benjamin_Margoux1
New Participant
Jul 8, 2025 2:51 PM UTC

Still waiting

Soren_Runge
New Member
Jul 10, 2025 7:52 AM UTC

 

This is on our radar. I’ve moved your reply to this topic to better gauge the overall impact we’re seeing here in the community.

Do you need a mechanic? Looks like the radar is broken. ^.^

Jokes aside … What makes me sad is that this request feels like the request for percentages for width and height specifications back then, where it seemed that the topic was simply hushed up. 
Let's face it, typography without percentages or multipliers is unfortunately only half the battle. there is no alternative here, no workaround ... just a lot of painful work when working with customizable design systems that quickly require up to 300 font definitions spread over 4 breakpoints, which quickly destroys a good development. ... What the batch styler used to do, figma could now suddenly do itself, faster and more responsive.
As a former developer, I am well aware of the limitations and challenges of data types. However, as a designer who has always appreciated figma's flexibility and open ear, I also think that a dedicated community like this would have deserved at least 2 updates after more than a year. ... before figma becomes a soulless money-making machine like other once innovative tech companies. cheers

Nicolas_Prieto
New Member
Jul 23, 2025 10:03 PM UTC

Can we please get this thing ready? It’s been a while and it might be super useful! 😁

On a side note, size / line-height variables are not updated on the Text Style List if you switch variable modes that alter those sizes, like from Desktop to Mobile: the text style change happens but the values on the text style list remain the same, making it super confusing.

Kestas
New Member
Jul 24, 2025 11:29 AM UTC

Please update the feature.

We need an option to define which value the variable should be “%”, “rem”, “em”, “px” …

​@seni 

Matthias Fritsch
New Member
Jul 25, 2025 11:10 AM UTC

+100 Push this! Please update/add this! 

Mark_Wyner1
New Member
Jul 31, 2025 10:32 PM UTC

Yep. 100%.

Dieter
New Member
Aug 25, 2025 12:18 PM UTC

We also need this for our design system.

Kallichore
New Member
Aug 25, 2025 11:20 PM UTC

I’m surprised this hasn’t been available since the very start of variables in Figma. Definitely a feature we needed yesterday! +1