Skip to main content
Question

Components properties changed with changing instance


Hi,
I have a set of icons, each of them has a property Filled=True/False. I’m using them in Cards component, where for one state I’m using filled type, and for another unfilled.
When I drag an instance of card component it works ok until I change icon. The icon won’t change it’s property like in the component - instead it resets all the overrides on this elements.

Here’s a file, because I’m not sure if I made myself clear.

Figma – 2 May 23

The union hack doesn’t work here, because it’s not about the colors. I don’t want to make a variant for each icon, because I’m planning to add them more (btw there are from Google, all credits to them!). Any tips, please?

This topic has been closed for comments

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