Skip to main content

Slots do not support preferred instance for private components

  • April 28, 2026
  • 0 replies
  • 3 views

Keely

My team has noticed an issue with slots: we’ve created structural (private) components that we want to set as a preferred instance in a component’s slot. However, since those structural components aren’t published, designers will not be able to see them or use them as a preferred instance.

 

For example:

 

Structural component: single radio button option

Main component: Radio button group, with slot to add additional radio button options

 

I’m able to set the preferred instance of the main component’s slot to use the structural component. However, when you try to use the component in an actual file it doesn’t work. You can’t see the structural component as a preferred instance since it’s not published.

 

 

Is there a way around this? We have a number of structural components like this that we don’t want to have to publish. For now, we’re going to have to publish them with specific naming on not to use outside of a slot.