Skip to main content

Allow the outermost frame of a component to be a slot

  • March 25, 2026
  • 0 replies
  • 3 views

Jason K

The new slots feature is awesome, and has been super helpful for my team. I have, however, run into a recurring issue.

The outermost frame for a component can’t be a slot. If you have a slot it has to be a child of the component.

This can cause some annoyance if I have a super simple thing where the only element in a component is a slot. With this I have to add auto-layout the component itself and add auto-layout to the slot, which is redundant. It can also cause problems because if I want to change the alignment of an auto-layout element, I have to make sure I’m clicking the correct one since there are two.

Component layer which only has a slot child layer.