Skip to main content
Question

Consolidate Variables


Paul65

Is there a way to migrate/consolidate variables?

For example I have to collections;

  1. component paddings
  2. Layout spacing

Both have numbers like 0, 4, 8 ,etc.

I now want to eliminate the component padding, but don’t want to manually adjust all padding. When I replace the name in the variable setting I get the message that the name must be unique.

How can I fix this?

This topic has been closed for comments

2 replies

Liamco
  • 8 replies
  • January 5, 2024

I don’t think there’s a native way to easily handle this, but there is a plugin called Find Variables (https://www.figma.com/community/plugin/1255559699053207361/find-variables) which might help you out. It only handles one page at a time, but it allows you to select all elements using a given variable, letting you easily swap them over to another one. When done, delete all your now-unused variables. Tedious, but beats doing everything 100% manually!


Paul65
  • Author
  • 8 replies
  • January 8, 2024

@Liamco
thank you for the reply!

This is quite helpful already (:


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