Skip to main content
megaroeny
Active Member
August 19, 2021

Finding Missing Library components/styles

  • August 19, 2021
  • 91 replies
  • 25445 views

First off, I’m loving the new Swap Library feature!

Problem

Today, it actually helped me discover some “rogue” styles and components that were leftover from an old library! Now I can try to locate those and finally get rid of them in our current library!

But wait - what if I don’t actually know where these are in the file? Or even further, what if I can’t get Figma to find a match?

Suggestions:

  1. The one thing I wish this feature could do is to help me actually locate those rogue styles or components. I tried using the Instance Finder plugin but it still didn’t help because I have to actually locate them on the canvas/file first. ☹
  2. What if the dialog let us force a new style or component match, instead of us running into a dead-end with the None found message. Currently, it tries to match using the name. But that might not always work (like in this case.)

Any ideas are appreciated. Otherwise, wanted to pass this suggestion on to the Figma team. Thanks!

91 replies

Travis2
Active Member
August 19, 2021

Seconded, this is difficult. The library publish dialog tells me the name of what’s about to be pushed, but nothing about it like when it was changed or even where it’s located (am I the only designer whose library spans multiple pages?).

megaroeny
megaroenyAuthor
Active Member
August 19, 2021

Nope that’s a common practice I’ve seen. A page for each component I take it? We also have a dedicated file just for Styles.

megaroeny
megaroenyAuthor
Active Member
August 19, 2021

I found another plugin called Find / Focus that I used to search for the name of the rogue instance, on each page!

But now I have one rogue style that I can’t find. The worst part is it’s called “White”, yet I went page by page using Selection Colors and didn’t see any called that.

I did see some that were named “white” with a lower case. Detached those but still showing. I’ll have to dig more and find a plugin that can find all styles being used in a file.

megaroeny
megaroenyAuthor
Active Member
August 20, 2021

I just thought of something (added to my post at the top under Suggestions) - If we could manually force a match (find a component or style we want to swap) instead of Figma trying to auto-match it or run into the None found, that could solve this problem too.

August 25, 2021

Just wanted to chime in that this is causing issues for us as well. Mostly with our OCD but it would be nice to be able to diagnose this easier.

megaroeny
megaroenyAuthor
Active Member
August 26, 2021

Yeah, the yellow icon probably doesn’t help with that 😅

Matthew_T_Rader
August 26, 2021

On the “Missing Library” panel I would like to be able to double click on the component and/or style and Figma take me to where that component or style is being used. Sometimes a library is deleted or an item is copied from another non-connected library and I would like to just unlink these components and styles quickly. Looking for them in a multipage project with hundreds of screens is very time consuming and painful.

Adam
August 26, 2021

I am going through the exact same thing right now. Have absolutely scoured my file and can’t find it. So frustrating. This functionality exists currently in the color panel with the “target” icon.

Also, not being able to swap library components that aren’t named the EXACT same is frustrating.

EDIT: Here is a more detailed thread: Missing Library feature suggestion

Adam
August 26, 2021

I’m thinking hidden layers might be causing this issue as well since it is displaying a broken image thumbnail for the single remaining color style that is missing. With a file that is 10 pages deep with hundreds of components it’s maddening.

megaroeny
megaroenyAuthor
Active Member
August 27, 2021

Yeah, I noticed that at least one of my missing instances was hidden.

Thankfully, I found this plugin called Find / Focus, that I could run a search for on every page. But if you have tons of pages, I could see that getting annoying quick (but better than nothing for now.) Try it out, see if it helps.

For missing Styles, you might need another plugin (I’m sure there’s one you can leverage to find styles, colors, etc.)