Skip to main content

Allow percentages for line height


Show first post

132 replies

Julian_Kovalsky

I would love this for Letter Spacing also.


Jon_Bueno1

IMO feature is not 100% viable until this is added. Frankly, I plan to put it’s use on hold until this is added.


Alice_Holm
  • New Member
  • 17 replies
  • April 24, 2024

+1! Need % for both line-height and letter-spacing!


Trisha_Paredes

%s are much scalable and lessens maintenance


Jon_Cho
  • 2 replies
  • April 25, 2024

How are you getting the letter-spacing to use percentages? It just converts to px for me.


dvaliao
Figmate
  • Community Support
  • 4603 replies
  • April 25, 2024

Thanks for the feedback, @Slava_Bronevitskiy!

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.


I was counting on using percentages for line height. All our text styles across 4 screen sizes would have needed just 4 line hight values.


Please add this soon 😉 it is so cumbersome to manage the line height with fixed values…


Cecile_Lotteau

+1, needed !


MichaelF
  • New Participant
  • 13 replies
  • April 29, 2024

+1 - count me in for the need of that feature 🙂


jolantis
  • 1 reply
  • April 29, 2024

+1, percentages (%) for line-height and letter-spacing are a must have. Or even better, make line-height to support unitless values like 1.5 (equals 150%) as well, just like is best practice in CSS.


Rodrigo3
  • 11 replies
  • April 29, 2024

I was really hoping for this line-height to be a percentage. As it is implemented now with absolute numbers it makes it unusable / useless and the only element missing for typography variables. Kinda disappointed as percentage in line-height is the usual obvious implementation for developers.


Another +1 for percentages. Absolutely necessary for line height variables.


Andre32
  • 1 reply
  • May 3, 2024

I’m shocked this is still not available. Definitely a must! 🙂


Ruffzen
  • 2 replies
  • May 6, 2024

+1 for percentages.


Lukita
  • 1 reply
  • May 6, 2024

Agree, 100%! Heheh, we need percentage-based line height.


pierrelord
  • New Member
  • 15 replies
  • May 7, 2024

Agree.

  • This could be made even more powerful, by allowing number fields to accept string vars (where a % could be entered) - kinda dirty, but this would solve the % feature (?)
  • Even more powerful if variables accepted calculations referring to other vars like =[line-height-default]*1.5

Andreas_Nordenson

I totally agree with this.


johanfjr.com

+1 for this feature


rahendz
  • 17 replies
  • May 13, 2024

Hi Figma, congratulations on reaching this milestone! It’s awe-inspiring. I wanted to share an idea regarding typography. Specifically, I’d like to talk about the text property. Instead of specifying the exact number of pixels for line height, I prefer using relative numbers like 1.5, 1.6, or 2. This approach offers more flexibility and maintaining consistency across different text easier.

However, I’m open to using exact pixel values when necessary.

image


Franni
  • New Member
  • 18 replies
  • May 13, 2024

This topic is already in discussion! Please vote for it 🙂 Allow percentages for line height


rahendz
  • 17 replies
  • May 13, 2024

thanks @Franni


Stephen_Deutsch

+1 for this feature 👍🏼


EvanMacAlpine

+1 for this feature, for line-height and letter-spacing. It’s not a scalable feature for design systems, as-is. Thanks for your work on this!


Syed5
  • 1 reply
  • May 15, 2024

+1. this would be very helpful for a beginner like me 🥲


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings