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
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
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.
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.