Skip to main content
Question

Instance swap property make every instance attribute change

  • February 29, 2024
  • 6 replies
  • 245 views

Benjamin_Margoux1

Hello,

The instance swap function of component work in a way that I find disturbing. So I want to know if you have the same problem or if I am missing something.

I have a component that work as a form container for other component. It’s basically a label with a list that can contain one or multiple sub-components.
So, in order to change the nested components, I’ve created an swap instance attribute.
But then, when I change a property of one of the nested component, all of the others one replicate the same change (see video attached Figma-recording.mov - Google Drive).

Is it supposed to work like that or is a bug ?

I know i could create different property for every nested component to avoid this problem but I would painful to use.

6 replies

y_toku
Figmate
  • Community Support
  • 2347 replies
  • March 5, 2024

Hi there,

Thanks for reaching out and sharing the video recording! I’m checking with our internal team, and will get back to you when I have anything I can share with you.

Thanks,
Toku


y_toku
Figmate
  • Community Support
  • 2347 replies
  • March 5, 2024

Hi there,

As I checked with our internal team, they hope to investigate with your file, so could you reach out directly to the support team with a copy of your file: https://help.figma.com/hc/en-us/requests/new?

Please make sure you use the email associated with your Figma account, include links to the file in question, and share Edit access with support-share@figma.com. Don’t worry, inviting us to view your file won’t impact your billing!

Thanks for your help,
Toku


Benjamin_Margoux1

Hi !

Thanks for your quick response, I’m sharing the file with them.

Regards


AntoineP
  • Active Member
  • 24 replies
  • October 22, 2024

I have the same question.
I don’t see why a prop value change on an instance should propagate to all instances bound to the instance swap property.
All the more given that this isn’t true for component properties (such as content) that are independent.


Francesco Poli

One thing i’m experiencing about this topic is that while it is impossible to override instance changes, i’m also unable to copy the preferred values to another property, hence implying either i change them all at once or i have to manually select a lot of options to be able to make the instances independent.

Please add an override option or allow us to copy paste preferred values.


martiankid
  • New Participant
  • 7 replies
  • March 25, 2025

+100 to this thread! It’s a long-known issue, and is so painful.

  1. If multiple components are linked to a single swap property, variant change on one shouldn’t propagate  to each other linked instance. This is not an expected behaviour!
  2. As ​@Francesco Poli suggested, allow to copy the instance-swap property within a component as a fast workaround (though, still not a proper substitute to #1).

This is a super-needed feature, to create abstract component repeaters, aka Button/Tab/Icon groups, etc. Right now each type of such container has to be created per component, which is a daunting job to do and hard to maintain on a large-scale design systems. Should it be fixed, it would unlock another level of composition and reusability!

Dear Figma team, please fix this 🙏🏻🙏🏻🙏🏻


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