Figma Support Forum

How to save a text inside a component?

Hi,
How can I save the text inside my component?

Are all the text layers (for the “Add New” “Pressed” and “Hover” text) named the same thing? If not, that’s probably your problem - it won’t know what to swap unless they match.

Omg, it’s so easy. Thank you! :blush:

2 Likes

Hi Sydney! Could you explain what you mean please? Do I have to name layers the same way? where? In the component itself? It still doesn’t work for me this way. When I use interactive button component in design I can change the label on the button but the labels on other states “hover” and “clicked” stay the same as in the library