Skip to main content
Oscar
New Participant
Feb 26, 2021 12:25 AM UTC

Hide components from search results in the same file

I know there’s an option to hide the components from a linked library by prefixing them with a “_” or a “.” but I also have components within my file that I don’t want to see on the search results. Is there a way to achieve this?

9 replies

Gleb
Power Member
Feb 27, 2021 2:51 AM UTC

Currently this is not possible so I moved your topic to #product-ideas.

Jerome_Dupraz
Nov 10, 2021 10:46 AM UTC

Hi @Oscar, did you find a trick to help you with that? I actually have the same need, to hide local components. Currently, I’m prefixing them with an emoji 🔒 so I can visually know which components are “locked”. I was wondering if anyone had another technique

Oscar
OscarAuthor
New Participant
Nov 10, 2021 10:00 PM UTC

Hey @Jerome_Dupraz, unfortunately I haven’t found a work around or plugin. I’m still dealing with this problem but I guess I’ve learnt to live with it lol. Hopefully they’ll solve this problem soon, it would be super useful for all of us who work with “base components” meanwhile I’m going to try your 🔐idea.

Sathish_Kumar_Voddepally
New Member
Feb 3, 2022 6:30 PM UTC

Hey…Did you find any solution for this? I am also looking for this, but I did not find any yet.

Oscar
OscarAuthor
New Participant
Feb 7, 2022 3:24 PM UTC

Nope, not yet 😦

Sathish_Kumar_Voddepally
New Member
Feb 7, 2022 3:57 PM UTC

Thank you for your response!. Any other logic you are handling this?.
I am actually giving a different name to the component that I don’t want them to display when searching.

Matthew_Vella
Jul 7, 2023 3:19 PM UTC

This would be so helpful for nested components. My search results are bloated. I currently use X / Component Name / Prop Name but maybe ill add the 🔒 see how that is received.

Ojanti
New Participant
Apr 12, 2024 8:52 AM UTC

Bumping this. It is a genuine need.
Search results are sooo bloated. Sucks when you’re creating a large system

Pigeon
New Participant
Feb 27, 2026 8:20 AM UTC

Bump! I often have stuff i don’t want the team to use from the design system or don’t want to delete.