Skip to main content
Jayce_Yard
New Participant
Jun 26, 2023 6:16 PM UTC

Swap variables in library

Hi All, we currently use the swap library feature for our styles. We were wondering tho if there is going to be support for swapping variables in the future as well? I know that Figma is currently working on extended collections, but the current omission of swapping variables based on a different library seems a bit weird

49 replies

Jul 27, 2023 9:26 AM UTC

This topic was automatically closed after 30 days. New replies are no longer allowed.

Hayden_Koch
Sep 6, 2023 12:35 AM UTC

This feature is essential

Daniel_Shipley
Sep 14, 2023 4:44 PM UTC

The swap libraries feature does not support variables. This breaks many workflows for people that use variables.

Daniel_Shipley
Sep 14, 2023 4:46 PM UTC

Variables should not have been released to production without this feature.

Sep 20, 2023 9:04 AM UTC

Also hoping this will be changed! We rely heavily on the Swap Library feature and have embraced variables. Current implementation it feels counter intuitive and opaque to us.

After discovering this behaviour, we have been forced to backtrack and revert applied variables to styles.

atakann
Sep 25, 2023 11:41 AM UTC

I think we should swap variables from one external to another, or local variants like swapping styles.

Kristaps_Stikuts
Active Member
Oct 16, 2023 2:37 PM UTC

I’ve also encountered the same problem as others stated above. But we are already way too deep into variables to backtrack now.

Julien.L
New Participant
Dec 11, 2023 10:55 AM UTC

I join you in supporting the idea that it should be possible to swap variables, as is the case for styles.

Julio_Garcia
Dec 13, 2023 2:55 PM UTC

We desperately need this feature for our white-label product.

We are currently relying on this plugin: https://www.figma.com/community/plugin/1264578192495051449

But it doesn’t work perfectly and normally a few variables (of hidden layers usually, or variables with transparencies) don’t get swapped properly and we end up having to manually hunt down the elements with unswapped variables and manually select the correct variables. Otherwise, you won’t be allowed to switch to a different mode.

Figma, please add this variable swapping feature ASAP!! Please.

Please.
Pls.

Oleg_Stepanov
Jan 9, 2024 9:42 AM UTC

One more voice for this fix. I was quite perplexed facing this bug (?) two months later after migrating my color styles to variables.