Skip to main content

Allow slots to replace redundant instance swaps without breaking changes

  • March 9, 2026
  • 2 replies
  • 96 views

Vincent_Schlothauer

Like many design systems, our current library uses placeholders + instance swap and we would love to switch to slots.

The issue: While it’s possible to wrap placeholders in a slot to preserve content in existing instances, that content is no longer preserved when the instance swap property is removed from the original component. As soon as we remove the instance swap property from the parent component, all instances lose their swapped content.

This means we have two options:

  1. Remove the property anyway and cause major breaking changes to hundreds of projects
  2. Accept redundant properties in the already crowded property panel for any component we switch from instance swap to slots

I’d be very happy if we could remove the property, or rather reassign its function to the new slot.

 

2 replies

balainciert
  • New Member
  • July 22, 2026

​@Vincent_Schlothauer  Yes! We have exactly the same problem. Do you know if Figma is working on fixing this?


Vincent_Schlothauer

​@Vincent_Schlothauer  Yes! We have exactly the same problem. Do you know if Figma is working on fixing this?

I don’t expect they will any time soon – what we’ve done in the meantime is create a plugin (using the generative plugin feature so I unfortunately can’t publish it to the community yet) that consumers of the library can use to update designs while preserving the slotted content. Essentially it grabs whatever was inside the instance swap, holds on to it, pulls the update and places it back in the slot.