Skip to main content
claudiaf24
New Member
May 19, 2025
Question

Allow Percentages in Variables

  • May 19, 2025
  • 50 replies
  • 3112 views

Please can we get percentages for variables? We can use percentages manually, but we can’t create a percentage as a variable. This would speed up my design to dev process tenfold, and considering we can already use percentages in the design, why disallow it in variables?

An example is I want store values for line height and letter spacing as percentages which behave responsively/dynamically, so when creating type variables I don’t have to do manual calculations, store 10+ letter spacing/line height values based on which font size they will be used with and hope I never change the font size variable in the future.

50 replies

d_greg
New Participant
May 19, 2026

Yup, without having a % type of field in variables setting them up for Line Height and Letter Spacing gets super wonky.

I figured out it with letter spacing, e.g. -0.25 -0.5 0 1 etc, but that doesn’t really reflect it nicely. For the Line Height percentage would be great cause there’s no way of doing it with Floats

jamuy87
New Participant
May 21, 2026

Please allow percentages in variables for better flexibility and easier calculations.

Jacob Storgaard Jensen
New Member
May 21, 2026

+10000000000000

This is one of the most annoying missing features in Figma! 

It is way to cumbersome getting line-height and letter-spacing variables out into production css, and we try to have Figma as “The one Truth” so please include this one, small but very powerfull, feature in Config this summer (2026)!

andrdinis
New Participant
June 1, 2026

pleasee +1 

Pigeon
New Participant
June 9, 2026

+1

Hrag_Chanchanian
New Member
June 25, 2026

Will be a happy day once this feature is added.

Kantapper
New Member
July 15, 2026

+1

Jacob Storgaard Jensen
New Member
July 28, 2026

This gives me hope → https://www.figma.com/release-notes/?title=design-closer-to-css-with-the-updated-auto-layout-option

But still percentages are missing as a variable type!!!

Come on! Please!

Meme Betadam
New Member
August 6, 2026

+1 

Dominic
Active Member
August 15, 2026

Need percentages for relative `line-height`