Skip to main content
Question

New Slot feature doesnt keep instance properties like fill and hug

  • March 20, 2026
  • 0 replies
  • 19 views

Ben_Buckley

EDIT: Slots does keep hug auto layout just not fill. thats the one i want 

ve started playing with the new Slots feature. it looks quite interesting but ive got quite the glaring issue that wont make it easy to continue using.

This is my method

create component - fill horizontal hug vertical (lives in a variant component with fix)
create another component - fixed horizontal hug vertical
frame inside - fill horizontal hug vertical
convert that frame to slot
add the first component as a preferred component/slot

When i take a instance of the component with the slot inside i go to add a slot preferred component.
this gets added but this is a crucial issue - that instance inside the slot does not keep the auto layout “fill” on the horizontal plane. it does for the vertical tho.  

this isnt too much of a bother for myself but i have other members of staff that might not do this every time. leading to broken layouts. especially if we start using components that some should have fill and some should have hug. how are they to know?

am i missing something or do we have to then go in to that slot and convert it manually?

To illustrate the picture -
the auto layout for the top one is the frame inside the purple component
the pink slot is the second one
the third is the instance. as you can see, its converted to fix and ill have to manually convert it.