Skip to main content
MiloW
Active Member
March 11, 2026
Question

Slots don't respect nested component's fill values?

  • March 11, 2026
  • 19 replies
  • 1214 views

Hi,

I don’t know if I’m the only one with this problem.

 

I have the slot. I configure it, etc. everything awesome.

I take the instance, try to use it.

Add an instance of the component that I had selected as the preferred one.

Now, it breaks my Fill for width and height for the component and the component doesn’t fill the slot area!

Now, I know it has to be changed to fill but weren’t slots supposed to be automatic? So that whatever is put there, it behaves like it should?

WTF?

Another BROKEN FEATURE… OMFG.

 

19 replies

Freddy
New Participant
April 8, 2026
  • The ability to set specific variants as preferred values is something we’re exploring.

That would be wonderful. Im always bummed when I insert a preferred instance and its the default variant that doenst fit at all..

Dave_Soderberg
New Member
April 8, 2026

I think the key here is that the slot itself is treated as it’s own dom element. Ideally, slots would be more like React Fragment — they aren’t actually a layout element. This would allow children of the slot to inherit the parent component properties instead of inheriting the slot’s properties.

e.g.

(1) As of now slots are actually grandchildren of the component
(2) If slots where just an indication of where in the component’s immediate children elements can be placed, the elements would be positioned relative to the component instead of the slot
 

 

Lucy Bradshaw
New Member
April 10, 2026

When inserting components into Slots, the “Fill” setting may not carry over automatically and may require manual adjustment. This is due to how auto layout frames handle inserted components and is expected behavior. The behavior is consistent between Slots and standard frames.

 

The problem is, this isn’t how the containers in code would work, so now we have to do hacky stuff to get it to work properly, like setting up a nested component that doesn’t exist in code. I’m trying to set up a two column checkbox group where the individual checkboxes should fill the parent container (aka the column). The slot ones are set to fill, but when you add new ones, they are inserted as the original checkbox size (bottom one), not the size in the group component (top one).
 

 

Active Member
April 15, 2026

Cannot select a variant as a preferred instance. Kind of a drag as designers would only know there is a specific variant to be used by documenting it in written word. A preferred variant instance would clear up the communication without so much documentation.

This ⬆️ 

Vitalii Nikiforov
New Member
April 23, 2026

Adobe put another one nail into the Figma’s coffin by releasing the Slots feature which is an “Alpha” state. I have never seen such a failure of how to ruin a good idea by releasing such an unstable piece of software. Claude Design will shut down this circus quite soon. Great job!

Vitalii Nikiforov
New Member
April 23, 2026

-1 year ago - I have no words TBH.

MiloW
MiloWAuthor
Active Member
April 25, 2026

I think the key here is that the slot itself is treated as it’s own dom element. Ideally, slots would be more like React Fragment — they aren’t actually a layout element. This would allow children of the slot to inherit the parent component properties instead of inheriting the slot’s properties.

e.g.

(1) As of now slots are actually grandchildren of the component
(2) If slots where just an indication of where in the component’s immediate children elements can be placed, the elements would be positioned relative to the component instead of the slot
 

 

I think too much depends on the slot and it has so many of its own features.

Maybe there’s something to what you are saying - you mean kind of a “logical” element rather than a real one? But then, if you have options on the slot, which element takes them over for actual production? What I mean - even if this isn’t really clear how it behaves - it might be a problem e.g. for AI or even a human developer (I am currently checking how Claude Code will treat it, probably as a div, just like that), will also check Figma Make.

Josh_Evans
New Member
June 24, 2026

A slot should be as simple as a frame in a component. It should have the ability to provide auto layout context. Without it, it’s a non-starter for the system. Our entire design system assumes responsive components – Basically, it should be be a flexbox container when autolayout is on. 

We should be able to apply any padding, fills, strokes, radius styles that you can apply to a frame. We use token studio, but I’d assume variables and manual controls all do the same thing. 

Soup soup
New Member
August 20, 2026

 

I understand all of this, but the lack of inheritance for `Fill` with the “+” slot causes OBVIOUS PROBLEMS... Essentially, this renders the slot function useless in most cases where it was actually needed.