Skip to main content
Question

Slots in components are treated as overrides and inherit styles to swapped components

  • March 25, 2025
  • 1 reply
  • 28 views

hummh
  • New Participant
  • 11 replies

Hello,

we have a huge issue with slots in our design system. From one day to the other, without any reason our slots in components are treated like they have been overridden (e.g. border color, bg color, ...). Those styles are then inherited to swapped components. You can be 100% sure that we didn’t customise the slots and all components have been tested extensively before, so why do they now have overrides? Where do the come from? What has changed in Figma?

The only solution is to go through all components in the system and reset the slots. Honestly Figma should save time not add additional work on our shoulders … 

Hope you can help us to find out what is causing this issue in Figma and how we can prevent such things in the future. 

Attached you find a file showing the problem.

Thx
Harald

1 reply

Sjur_Gronningsaeter

We have the same problem. When we swap to another component, the slot component styling is preserved, so we have to reset the fill and stroke manually.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings