Settings and activity
2 results found
-
1,809 votesAnonymous supported this idea ·
-
213 votes
Apologies! I sent the Email to the wrong ticket.
An error occurred while saving the comment An error occurred while saving the comment Anonymous commentedDescription: I want to create a button with text and different states as a component in the library. Each state should show the same text. Only element properties like the color of the button, the button outline and the text color should change from state to state. In the component instance it should be able to change the text in the default state and then all states take and display this text.
Current behavior: When I create new states of the button, each state gets a copy of all button elements. If I now use this button from the library, I get an instance, where I can change the text of the button. But the text will only be overridden in the current state and not in all states at once. I need to go to each state and change the text to the desired button name. This is much work when having a lot of states and a lot of different buttons.
Solution: Add the property “Keep text of the Default State” as an option for a component instance.
Value: It saves time in the prototype creation phase if I only need to change the text of the default state in an instance of a button component with many states.
Anonymous supported this idea ·
See also: https://adobexd.uservoice.com/forums/353007-adobe-xd-feature-requests/suggestions/39051064-create-new-main-component-from-existing-component
A duplicate of a component as a new base for another element could help here to keep also other properties e. g. width.