I would like to create relationship between the instances. When I change one instance, I want the change to be synced with other instances of same component

Hi everyone, I located an instance to multiple screen, there is a variant in the main component and it works fine when I change the variant in the instances but each instance works independently, I want them to be linked to each other, so that when one instance is colored when clicked, the others instances also changes to colored variant