Skip to main content

Variables: Use of Math with Aliases

  • September 8, 2023
  • 4 replies
  • 1486 views

Adam_M_Babkes

I’m super excited to be using native variables in Figma; however, there are couple of glaring holes.

  1. Identifying an EM scale for text (maybe this will come with Font Variables support)
  2. Need to be able to reference an existing Variable (an Alias) and be able to do math on it; for instance, if Spacer = 20px, i would like to be able to reference {spacer}/2 to get 10px without changing the parent value

4 replies

Alex_FG
  • New Participant
  • 32 replies
  • September 9, 2023

Variable math is possible with a plugin. https://www.figma.com/community/plugin/899028246731755335

Generator Variables


Adam_M_Babkes

This is interesting, but unfortunately not what I’m trying to accomplish. I can already do math with variables in TokenStudio, which does it very well with a Plugin, I just really want to be able to do this without a plugin in the native Figma Variables.


Al_Avery
  • New Participant
  • 7 replies
  • October 9, 2024

I use this ability in Tokens Studio as well and it would be very helpful to have natively in Figma.


Celine_D
Figmate
  • Community Support
  • 3381 replies
  • October 10, 2024

Hey everyone, thanks for your feedback. I’ve gone ahead to switch your topic as a Feature request so you can vote for this idea. This will help us to monitor votes for overall interest from the community. Thank you!


Reply


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