Hiding instance swap components?

Is there a way to hide the components that are made available through an instance swap property? For example I want to use instance swap on an avatar component to change the person image, but I don’t want these person images to be usable as a component.

I tried hiding the person images with a “.” but that also hides it from the instance swap options.

For example, try using this file as a library, and instance swap on the avatar component

I’m curious about this too. There are a number of places I’d have preferred to use hidden instance swaps but have instead had to use other component properties just to keep the import menu clean.

1 Like

Maybe I didn’t get your question right, but why don’t you just hide them?

That hides them from your screen, but when published they are visible everyone in your org when searching for assets in the library, which makes the library for a big system very messy :frowning:

1 Like