Skip to main content
Mark_McIntyre
New Participant
April 17, 2024

Allow percentages for line height

  • April 17, 2024
  • 197 replies
  • 25150 views

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.

197 replies

Rodrigo3
August 22, 2024

Still on the radar? Will it ever be released?

Rodrigo3
August 22, 2024

+1 please add percents on font variables

Andreas_Nordenson
New Participant
August 23, 2024

This is such a big issue… disappointed with the lack of response from Figma and the uncertainty waiting for it to be implemented (or not)

David.Stenbeck
August 23, 2024

I heard a rumor that this feature will be added at Config '32 where their newly announced AI developer will finally start looking at the suggestion forums.

Michael_K
New Member
August 28, 2024

Great idea! I’m also for it!

goatdev
August 30, 2024

1000% we need this. No update on this since April 😦

Andre_Edqvist1
New Member
August 30, 2024

This is proper ridiculous. Stop fidgeting about in chat GPT and finish your freaking semi-done features.

Christian22
September 9, 2024

My workaround is to duplicate the variable group of your font says and name it line-height. Then take your typescale percentage value for line height (i.e. 1.6 for perfect 4ths), and type " * 1.6" after the font value. Make sure to include space. Figma will automatically calculate the correct percentage value. Do this for each font size!

Matty_Vazquez
Active Member
September 18, 2024

This is needed! Also seems to be similar to these threads about %:

Marcin10
New Member
September 26, 2024

As for me it is more importnt the AI tools and other enhancements that hace been recently added to Figma. I have a Design System and the only thing that as it comes to typography that makes me mad is lacking the line hight variable OR a formula that will accept multiplying like: variable * 1.5. Figma, please add it asap or we move to Penpoint : )