Skip to main content
Oscar
New Participant
February 26, 2021

Hide components from search results in the same file

  • February 26, 2021
  • 9 replies
  • 2464 views

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
February 27, 2021

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

Jerome_Dupraz
November 10, 2021

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
November 10, 2021

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
February 3, 2022

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
February 7, 2022

Nope, not yet 😦

Sathish_Kumar_Voddepally
New Member
February 7, 2022

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
July 7, 2023

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
April 12, 2024

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

Pigeon
New Participant
February 27, 2026

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