Skip to main content
claudiaf24
New Member
May 19, 2025 2:04 AM UTC
Question

Allow Percentages in Variables

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 5:49 PM UTC

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 4:56 AM UTC

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

Jacob Storgaard Jensen
New Member
May 21, 2026 1:01 PM UTC

+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
Jun 1, 2026 3:40 PM UTC

pleasee +1 

Pigeon
New Participant
Jun 9, 2026 9:35 AM UTC

+1

Hrag_Chanchanian
New Member
Jun 25, 2026 10:59 PM UTC

Will be a happy day once this feature is added.

Kantapper
New Member
Jul 15, 2026 12:41 PM UTC

+1

Jacob Storgaard Jensen
New Member
Jul 28, 2026 7:38 AM UTC

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
Aug 6, 2026 6:10 PM UTC

+1 

Dominic
Active Member
Aug 15, 2026 4:26 PM UTC

Need percentages for relative `line-height`