Skip to main content

Set component text property to be text variable

  • August 9, 2024
  • 3 replies
  • 311 views

Sophie26

When a component has a text property (e.g. Button property “label”) it would be great if when using the button you can set that text property to be a text variable. In the same way you can do so for variants

Screenshot 2024-08-09 at 3.39.55 PM
Screenshot 2024-08-09 at 3.40.10 PM

3 replies

djv
Figmate
  • Community Support
  • August 14, 2024

Hey @Sophie26, thanks for the feedback!

We’ll pass this onto the team for consideration. Don’t forget to also vote up top! ☝️

Teams us votes from the community to gauge overall interest and prioritize requests.


We are using a component library that we don’t have access to edit. So we can’t remove the button’s text property to assign a translation variable to it (which by the way is already crazy that we have to do this).
This is extremely inconvenient and frustrating for us. 😩


themaster6466

It would be great if components like buttons allowed setting text properties (e.g., the “label”) to a text variable, just like how you can set variables for variants. This would make it easier and more efficient to manage component text dynamically.