Skip to main content
Jason Stark
New Member
Oct 29, 2026 9:17 PM UTC
Question

Nested variant switching inside a slot applies incorrect fixed width and padding

Nested variant receives incorrect fixed width and padding only inside a slot

I’m encountering a layout issue with a nested component when switching its variant inside a native Figma slot.

Hierarchy:
List Item Group → Slot → List Item instance → Subcomponent with Icon/Checkbox variants → Checkbox instance

Designers can switch the subcomponent between Icon and Checkbox. Outside the List Item Group slot, switching works correctly. Inside the slot, switching to Checkbox applies incorrect layout values:

Property Outside slot—correct Inside slot—incorrect
Fixed width 24dp 48dp
Padding 12dp 2dp

These are actual values in the properties panel, not just a visual rendering difference. The width remains Fixed, and the incorrect width is not defined in the source variants.

Steps to reproduce:

  1. Place a List Item instance outside the slot.

  2. Switch its nested subcomponent from Icon to Checkbox—the layout is correct.

  3. Place a List Item instance inside the List Item Group’s slot.

  4. Perform the same variant switch—the fixed width and padding change to the incorrect values.

Configuring the Checkbox variant outside the slot before inserting the List Item works. The problem occurs when switching variants within the slot. Resetting overrides has not resolved it.

This is affecting existing designs across our team’s files. Has anyone encountered this specific behavior or found a workaround that preserves instance content and configurations?

2 replies

Jason Stark
New Member
Nov 3, 2026 2:06 PM UTC

Hello, I wanted to follow up on this post. This bug is effecting a lot of files. 

Tom Reem
Figmate
Figmate
Nov 4, 2026 10:13 PM UTC

👋🏻 Hey ​@Jason Stark, welcome to Figma Forum!

Sorry for the wait here and for the disruption this is causing across your team’s files.

I reviewed your recording and can see the difference in alignment after switching the nested variant inside the slot — appreciate you providing that. I’d like to look more closely at the component setup before suggesting what’s causing it.

A couple of things would help narrow this down:

  • To check whether existing customizations affect the result, could you try two fresh “List item” instances from the same component — one outside the slot and one inserted into it — and switch the same nested property in both?
  • Could you also share a small reproduction file containing the relevant main components and both examples? If it contains anything private, let me know so we can arrange to review it directly with our Customer Support team.

 

Our Slots guide confirms that component properties defined on a main component remain available when its instance is inserted into a slot: Create and use slots to build flexible components in Figma Design. The reproduction file would help us investigate why the layout values differ in your setup.