neelts
May 12, 2024, 12:29pm
26
Hey @A_Gussenberg , I just wanted to let you know that my new plugin Dynamic Variables does exactly what you’re looking for!
Here’s a quick video to show you how it works:
https://www.figma.com/community/plugin/1365339609215368041/dynamic-variables
@Josh_Mitchell your request is super close to this one, I posted video there too:
When creating variables, it would be really useful to be able to include maths and text when defining a variable, which are kept up-to-date based on current values.
E.g.
With a shopping basket, I have the following variable
• Subtotal# (numeric)
Into which I add the value of each product selected in the basket.
From this value I would like to calculate
• VAT# (numeric) = Subtotal * 20%, truncated to 2 decimal places
And then display these variables in a currency
• Subtotal£ (String) = “£…
Let me know if you have any questions!
3 Likes