Skip to main content
Solved

How to remove/delete ghost components from "Used in this file"?


Rayan1

Hello!

I’m working on a huge file in which I find components in the “Used in this file” tab that are actually no used in this file 😅

As you can see here, the component Header/statusbar + navbar occurs only 1 time in my file, and yet, even if I delete it, it stays in the Used in this file tab.

Is there any plugin or tips to remove those ghost component and maybe replace them?

Best answer by Yehia

The Used in this file section only shows if there’s a library enabled for this file, and you are using an instance of a component in that library.

It also seems like you are searching for this component in your Assets section. What you want to do is search for it in the Layers section by hitting ⌘ cmd+F and making sure you select All pages ⌄ from the dropdown menu under the search bar. Hopefully you will find all the instances there and be able to delete them.

View original
This topic has been closed for comments

2 replies

Rayan1
  • Author
  • 1 reply
  • April 3, 2023

And as you can see here, there is 0 instance of the component Header/status…, but it remains in the Used in this file tab.


Yehia
  • 52 replies
  • Answer
  • April 3, 2023

The Used in this file section only shows if there’s a library enabled for this file, and you are using an instance of a component in that library.

It also seems like you are searching for this component in your Assets section. What you want to do is search for it in the Layers section by hitting ⌘ cmd+F and making sure you select All pages ⌄ from the dropdown menu under the search bar. Hopefully you will find all the instances there and be able to delete them.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings