Skip to main content
harsha20599
New Participant
February 17, 2021

Replace a layer with component

  • February 17, 2021
  • 21 replies
  • 22561 views

We recently migrated into Figma and imported all our sketch files. I created a solid DS in Figma. Now the problem is, while working on old files, It’s hard to remove a layer and place the component at the same place.

It’s been so much annoying and it’s a life saving feature to have something like replace layer with component.

Do you also faced same problem ? Please help me out if you have a workaround or plugin that eases this.

21 replies

Dominic
Active Member
March 21, 2023

Using Select Layers plugin is cleaner… not promoting it, just is and it’s free:

  1. Copy your component
  2. Select all (cmd/ctrl + A)
  3. Run plugin called Select Layers - Select Layers by Name, exact match checked (or select any relevant category)
  4. Step2 selects all relevant layers, then simply cmd/ctrl + shift + R to replace all those layers.

Note: sizing and location have to be identical for replacement to be clean. Set your object/component how you want it before Step 1, then copy it.