Skip to main content

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.


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 😦


Any updates on this? I have the same problem. I want to have a master Icon component. The specific icon you want to use, can be picked through the instance swap property. I don’t want people to both be able to use the master Icon component ánd individual icon components.


Reply