Skip to main content
Question

Nested Slot (Beta) Experience and Feedback

  • March 13, 2026
  • 1 reply
  • 54 views

Martyn_Stivala

Hi all!

My first time posting here, and I thought I’d share my experience and feedback on the new slots feature that was recently released.

 

I’m working on a pattern builder component concept for our design system. The component has a master base slot nested within a single-row, 12-column grid auto-layout. This layout has variants for different patterns and breakpoints. The grid is then nested within another slot in the main component, allowing rows to be duplicated to build a layout. The component also includes various other elements and tokens to control spacing. The hierarchy looks like this:

 

* Pattern Builder (main component)

    * Row container (Slot)

        * Row patterns (this can be duplicated to create more rows)

            * Grid (1 row, 12 column auto-layout in Grid mode)

                * Slot Base (contains master slot to insert atoms and organisms)

 

For my initial testing, I recreated several layouts for the desktop breakpoint. The component worked well in this scenario. However, when I tried to switch the layouts to another breakpoint using a variant set at the top level of the Pattern Builder component, the Row Pattern did not update as expected. Instead, I had to select the rows and change them manually. This is workable, but not ideal behaviour.

 

After further investigation, I found that if I reset the component to its default state, switching between breakpoints works as expected - the Row Pattern updates automatically. It appears that the component behaviour breaks only when a slot is modified.

 

I also noticed that nested variants applied to the main Pattern Builder component disappear once a slot has been modified.

 

I hope this explanation is clear, unfortunately I'm unable to share images due to company policy. Has anyone else experienced similar issues, or is there a known fix?

 

Thanks M

1 reply

Martyn_Stivala

I’ve just has another thought.

 

Is there way to set the default width behaviour for a component added to a slot? When adding a component via the Inspector their width is always set to fixed, which then needs to be manually set to fill.