Create new main component from existing component
◆ Overview
After releasing "State" feature, it's been able to prepare complex interactions like "hover." Following feature may help to reduce required time preparing a new component with similar behaviors/instructions.
◆ Actual
New component with state settings every time when a similar behavior is expected in different look and feel.
(Currently, preparing another XD file is believed to be the only solution to avoid this by selecting "Make it as local component" after loading it from another XD file.")
◆ Expected
By select "Use it as a new Master Component" is to make a new Master component instead of copying it as an instance component.
◆ Why is this valuable to you?
When using a single, new XD file and load a master component from other XD files, it is possible to make it "local component"; however, it is unable to make it happen within the same XD file.
This helps to reduce time to prepare a set of basic state setting from the beginning each time. This also helps NOT to get affected unconsciously on the new component by editing the template master component by someone else.
Since Co-Editing feature is now beta version, some larger project may have a couple of co-editors of components on the same XD file in the future. While a group of designers keeps upgrading a basic behaviors for future use, another group of designers is working on on-going project to finalize a specific look and feel based on the template component.

-
Martin K. commented
It's helpful if you make a UI Kit with all button states shown for example. For now I have to set all states with every new button component I create (primary, default, flat etc.) by hand.
-
Tim commented
Yes please! :D
I'm regularly building new design systems and I stumble over this every single time. First I build the basic text input with several states (hover, focus, error/warning/success states, messages, with and without placeholder) and for every other input type I have to rebuild the whole thing from scratch. Search. Dropdown. Number. Datepicker. Every. Single. Component. Variation. Again. And. Again. And. Again.Btw, I love XD, but it's monday morning and I've got a heck of a week waiting for me and I wish this would be implemented as nicely as the rest
-
Souheil commented
Problem:
Oftentimes wile modifying a child component I reach a point where it needs to be a new Master component. Depending on the complexity of the component, recreating it as a Master can be taxing.Solution:
Right-click on a child component and change it to a new Master component. -
Robert Erdt commented
Yes, it's such a pain with large grouped items to have to ungroup, re-group. Please up-vote this feature.
Especially when you have to design many states within states, developers want each component named accordingly, not states. Or you follow a specific design schema, and you have to duplicate each component to meet these requirements, this feature would double the time it takes.
-
Joshua Cheriyan commented
Yeah I have the same issue when dealing with the complexity of a product sidebar nav that needs to be minified. It's easier to make a separate master component that's the mini version, BUT only if I don't lose all my hooks/hovers.
-
Justin B. commented
It would be great to have the ability to quickly convert an -instance- of a component into its own -master- component.
Presently, when we copy or duplicate a master component it automatically just creates an instance. There should really be an easier way to convert any instance into a new master instead of having to select the elements of the instance, make it into a new group, and then make the group a new component.
This would save a lot of time if there was merely an option to right-click on an instance and select the "convert to master" option.
-
Justin B. commented
Agreed. I'd like to have this feature added as well. Presently, when we copy or duplicate a master component it just automatically creates an instance.
-
Koushik commented
It would be great to have a way to duplicate a master component - create a copy within assets panel. If I have a component that has several states and I need to make a dark mode version of that component, I would like to just duplicate that component and make my changes instead of having to recreate it from scratch as a master component.
-
Gabe Schervish commented
I'm using the new convert sketch library in XD to import all the different libraries i have. While I appreciate the ability to add states, it has one major flaw.
I cannot create a new symbol from an existing symbol that already has the states i want in it.
A good example of this is my button system. See screenshot for how it exists in sketch now.
Basically i have 20 different types of buttons (this is an enterprise design system) each with 2 different sizes (big and small) and each of those button types comes in 5 states:
Default, hover, focus, active, and disabled.
In XD with states right now I imported the buttons in and i have to recreate each of those states for all 40 button types. Each time i create a new symbol i have to add the 5 states manually and type in the titles of those 5 states manually and then copy and past in colors and text styles manually. It's soooooo slow.
I would like the ability to either copy states to new symbol (at least the names maybe) but i would also like to create a new symbol from an existing symbol so that i can even preserve the contents of those states to make the minor tweaks needed for each new symbol.
Again, I feel this is especially relevant to those people who want to convert their design systems to XD. Thanks!