Figma Support Forum

Is it possible to re-link styled instances to other "Master" component

Hi, couldn’t find a solution myself, hope someone will be able to help.
I created instances of a component (button), each instance if differently styled. The question is, how can I relink the size and spacing properties of these to the different “Master” and control instances from this master?

Thanks!

I don’t think there’s a way to take a component instance and point it to a different main component that already exists. I think you have a few options:

  1. Detach each instance from its original main component, and then convert them into new components.
  2. Wrap a new component around each instance you have. If you do this you can base everything on one main component.
  3. Explore using the variants feature so that you can have one button component with different toggleable options for each type/state/whatever. I would probably use variants for the situation you describe.

It is possible with my plugin Master. Check out this video to see how it can be done: https://dominate.design/video