Skip to main content
Participant
February 3, 2022
Question

Remove unused components in XD

  • February 3, 2022
  • 5 replies
  • 4036 views

Is there a way to remove unused components/font styles in XD, similar to removing unused swatches in INDD?

5 replies

caring_Ray6C2B
Participant
June 14, 2023

Can you remove this please? ChatGPT just makes things up, this is incorrect. And since you posted it here, it comes up as an answer in google search results, which is why I'm here. Please don't post incorrect information, especially after it was already removed once. Thank you.

thepixellator!
Known Participant
February 17, 2023

Is this a thing yet? According to ChatGPT, you can filter by unused components(see below) but I can't find an "Unused Components" filter. 

Is ChatGPT lying or am I blind?

quote

Is there a way to remove unused components/font styles in XD, similar to removing unused swatches in INDD?


By @Dana22983976vcwf



jctremblay
Community Expert
Community Expert
September 1, 2022

Absolutely need this! 

Randy Edmunds 2
Adobe Employee
Adobe Employee
February 4, 2022

Another way to determine if a component is unused is to hover over it in Document Assets view of Assets panel. The number of instances on canvas and nested in other components is shown in the tooltip, so any components with "0 instances" is unused.

 

HTH,

Randy

 

Participating Frequently
May 12, 2022

I use the hover method to see if there are any instances, but many times, there are so many components that it takes forever to do a cleanup. Any way to highlight ALL components not used? If so, I could drag them to an "Unused" folder or just remove them all much easier.

saneevangold
Participant
February 10, 2023

Yes, I completely agree and would love a feature like that. Especially in times of huge design systems this is a must-have.

Chris W. Griffith
Community Expert
Community Expert
February 3, 2022

Select the component from the assets panel on the left of the screen. Right-click on the component you wish to delete. Select Delete Component from the menu. You might want to select Highlight on Canvas first to make sure it is completly unused. However, you will have to do this one component at time. It would be nice for XD to allow for easier management for this.