Skip to main content

Selectively apply string variables to words within a paragraph


Misha_Gorlach

Is there any chance to have the ability to selectively apply string variables to specific words within a paragraph? This can change my (professional) life 🙂

8 replies

  • Figmate
  • 1938 replies
  • January 15, 2024

Hi Misha, Thanks for your thought!
I tested on my end and I cannot apply string variables to a specific word within a text layer. : https://help.figma.com/hc/en-us/articles/14506821864087
So, this seems like a feature request for me. I have shared this feedback with our internal team for future consideration, and moved this topic to share an idea for votes!

Thank you!


Tellez_Alcantar_Enrique

It’s not the best but I have a found a workaround, you will need to have that word in a different frame and apply auto-layout to simulate the space between words. With that now you can apply the string variable just to that specific word. I hope this helps.


Misha_Gorlach

Thank you! Works well as a one-time lifehack, but I have hundreds of components affected by this issue 🙂


Stijn_Swinnen

I need this too and couldn’t find it working correctly yet. The suggestion of @Tellez_Alcantar_Enrique doesn’t work if the text is in paragraphs covering several text lines. I have one large paragraph and need to adapt 10 text variables each month. It would be a huge time-saver to have this semi-automated.


Tellez_Alcantar_Enrique

Yep I understand the frustration, I also will like to have this option available


Christina_Bruun

I would like to have this functionality prioritized as well. This is essential for my work and would be a huge time saver. Fingers crossed Figma will continue to develop on this, as it would make working with white label design system much faster.


Ryan_Jackson

Ideally when this is supported it would allow for different styles within the same text component as well. So if you can do something like the following:

 

Paying from Account 1234 with an ACH. 

 

Where the bolded string is the variable value.


Jacee
  • New Member
  • 3 replies
  • March 26, 2025

Our team would like this feature as well. Also, it’s a dupe of this ask: 

 


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