Skip to main content
Question

Clarification with hidden components

  • November 7, 2023
  • 7 replies
  • 1705 views

Edward_Battistini1

I’m struggling…

I look around and everybody is using the “.” or “_” to hide component when publishing, but my question is:

  • Is the component published but “not” searchable?
    or
  • is not published?

The reason I ask is that I’ve had many instances where I use nested “core” components that I don’t want designer to use but they get out of sync and whenever you are using a component made of multiple “Core components” When you change properties it breaks and asks to update Core component with the little update dialog bottom right…

Can someone with extensive knowledge in Figma library share what is the latest and what is the most optimal way to set this up…

Currently I’ve got 2 libraries but only one is consumed by designer but its quite a pain and I wish I could just have one…

Happy to hear some thoughts…

7 replies

Gayani_S
Figmate
  • Community Support
  • 1944 replies
  • November 10, 2023

Hey Edward, thank you for reaching out! I’ve checked with the team internally. Publishing with . or _ prefixing will mark the component as being ignored from being published. So if it was previously published, it will be removed from the library. If it was never published, it will be ignored. Components that are not published should not be searchable in Assets.


Edward_Battistini1

Hey Gayani!
seeing you on the other side ! nice! Happy for you!

I have yet to find an answer to my initial request… What is the best way to manage “Core” components (which are used in Published bigger component) that should not be used on their own.

I’ve been searching a lot and no proper answers found…


AP_Pikeas

This is not the case for me. I have done as you mentioned but my hidden components are still showing up in the assets panel. To Edwards question above, I also want to avoid having 2 component libraries for my design teams so that the core components aren’t visible in the assets panel.


Kin_Ye
  • 1 reply
  • April 21, 2024

I believe that the “.” and the “_” are not working anymore, seems like the tech was removed some how. Now every component will show in the library regardless of the prefix


Sara_Tapusoa

Yeah I also noticed that the prefixes aren’t working anymore. It’s not hidden in Assets or Components search. My team primarily uses the Components search (shift + I) to find components from our design system. However, now I have to remove those components since they are shown in the list (e.g., “Button,” “.buttonTypes,” “.ButtonDeprecated,” etc). It’s confusing them. Does anyone know if there’s another way around this or are we just stuck with this until Figma adds the feature back in?


Remus_Baltariu

How can you see the list of hidden components from the publish?


tank666
  • 4859 replies
  • November 8, 2024

You can find hidden assets in the “Publish Library” modal in the “Hidden” section.

Figma Learn - Help Center

Reply


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