I need help with swapping variables for a new library on Figma
I’m creating a design system that needs to swap the associated branding: colors, fonts, corner-radius, and border-stroke to be switched out. And the way that we do it on the component level is by switching the libraries (to the new ones), but Figma’s feature “swap libraries” doesn’t work with variables, only with styles and components.
I tried to find a plugin that could do it properly, but the plugins that I found only change the variables available on the page, and don’t change directly the variables pointed on the variables panel.
Has anyone faced the same issue? How did you fix it?
Page 1 / 1
Hey,
I've been using this plugin:
https://www.figma.com/community/plugin/1334258818515407420
There are other plugins that do the same.
It is not a fully reliable solution as you have noticed. There is no workaround for the fact that the variables will change back when you swap a variant, for instance.
This is a shortcoming that Figma is aware of since they released Variables and has announced a feature that will address these needs (video from Config 2023). I'm hoping that they release this feature in Config '25.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.