Skip to main content

Can't use variables to create a percentage on Letter Spacing

  • April 18, 2024
  • 16 replies
  • 2670 views

Phil_Larsen

I use percentages in a project for the letter spacing. I can’t use variables to achieve this value. It always defaults to pixels.

16 replies

y_toku
Figmate
  • Community Support
  • April 19, 2024

Thank you for providing feedback! I will share this with our internal team. Your input is highly valued, and we will take it into consideration for future enhancements.


Stan5
  • New Participant
  • April 19, 2024

What unit is currently used? I tried converting the percentage to REM but the text shifts when I assign the variable, so REM clearly isn’t the right unit.


Phil_Larsen
  • Author
  • Active Member
  • April 19, 2024

It defaults to pixels on Letter-Spacing. I tried using a decimal but then it was just a decimal of a pixel.
This issue is also present on line height.


pinquitte
  • May 10, 2024

This is weird 😦 I cannot use line-height variables for our “label” text style because of this issue. I need to add 10% as a value, but % character is not permitted.


Actually, this problem exists since 2021… Any news about it? Thank you very much.


Jeremy_Knudsen

I just ran into this problem. What good is having a variable scoped to line-height if it ONLY supports a px value ??


Ed_Kolan
  • August 1, 2024

Same issue. Cant setup negative 2% or value 😦


kiprou
  • New Participant
  • October 4, 2024

If pixel values are considered “number variables” then percentage values should be considered number variables too. Please get this fixed.


Emanuel-Mardsjo

I’d just like to add to this as well. Would make it a lot easier to set up consistent styles.


Shiv
  • New Participant
  • February 6, 2025

Just wanted to chime in here and say that this is absolutely required for us as well. Not being able to use tokens for letter-spacing is a gap in our design system that we want to address as soon as possible.

 

@y_toku are you able to confirm if this feature is being worked on?


Felix_Dorner
  • New Member
  • May 12, 2025

Variables where we can set the unit (either percentage, em, rem, etc.) are soo much needed. I can’t add percentage-based letter-spacing or line-heights which is basically the norm in web design.


Ishara Induranga

I’m trying to use percentage values like -2% for letter spacing in Figma, but it doesn’t seem to work. When I set it using variables, Figma defaults the value back to pixels. Just wondering does anyone know if there’s a workaround


Jeremy_Knudsen

Came back almost a year later to see if this has been fixed. Nope.


Marc Hauser
  • New Member
  • July 25, 2025

It’s 2035, still not fixed. 


Chris_Lozac_h

Nearly 2026…perhaps too many devs devoted to AI now to hope Figma will ever get Letter Spacing to work with variable units like `%` & `rem`? 😭


Yordan Hristov

Can’t believe this is still not fixed. 
I thought you push design systems… and we can’t create a basic design system with tailwind combability  (they have em tracking/letter-spacing)
At least allow the letterspacing field to accept string variables...