InstaRelinker
<p><strong>If you ever needed to replace all instances of a remote main component with its local equivalent, you know exactly how painful that can be, especially at scale</strong>.</p><p><br></p><p>The manual finding and swapping of instances and replacing remote styles with local styles can be very tedious. </p><p> </p><p>The default <em>*Copy/Paste*</em> functionality in Figma creates new top-level components in the destination file but keeps nested instances as instances of the main components in the origin file. A shortcoming of this approach is that it fails to relink all nested instances to the local main components. </p><p><br></p><p>But sweat no more—meet <strong>InstaRelinker</strong> by the Progress <a href="https://www.figma.com/community/plugin/969582819918741496/Unite-UX" rel="noreferrer noopener nofollow ugc" target="_blank">Unite UX Team</a>.</p><p><br></p><p>Check out <a href="https://www.youtube.com/watch?v=uKEvcwOQAnw" rel="noreferrer noopener nofollow ugc" target="_blank">👀 </a> <a href="https://youtu.be/hGicyhYLBeQ" rel="noreferrer noopener nofollow ugc" target="_blank">Introductory video</a> (4:02)</p><p><br></p><p>We built this plugin to complement the continuous evolution of the <a href="https://www.figma.com/community/search?model_type=hub_files&q=kendo" rel="noreferrer noopener nofollow ugc" target="_blank">Telerik and Kendo UI Kits for Figma</a>. As new UI components are added regularly to our libraries, we faced the need to replicate them between the multiple kits we support. Additionally, our users faced the need to upgrade to newer versions of the Telerik and Kendo UI kits, while preserving any modifications they had already made to their version. </p><p><br></p><p><strong>What the Plugin Does</strong> </p><p>The plugin enables nested <em>*remote*</em> instances and styles within selected <em>*local*</em> main components to be relinked to their local equivalents. When the plugin runs, it will scan the current Figma file for <em>*local*</em> main components and automatically relink any remote instance for which a local main component is matched by name. If no match is found, then the plugin will allow users to manually select the local main component for each remote instance and relink it. The same process is applied for remote styles. </p><p><br></p><p><strong>How It’s Done </strong> </p><p>The plugin relies on Figma's built-in Copy-Paste functionality to move main components from one file to another. </p><p> </p><p><strong>Replicate Components and Run the Plugin:</strong> </p><p><strong>1.</strong> Open the file containing the main components. This is the origin (or source) file. </p><p><strong>2. </strong>Select the main components or component sets to be replicated. </p><p><strong>3. </strong>Use copy to put them in the clipboard. </p><p><strong>4.</strong> Open the file where you want to replicate the main components. This is the destination (or target) file. </p><p><strong>5.</strong> Paste the components into the file. </p><p><strong>6.</strong> Make sure the pasted main components are selected and run <strong>InstaRelinker</strong>. </p><p><strong>7. </strong>The plugin will scan the selection for remote instances and styles. </p><p> </p><p><strong>Note:</strong> <em>For complex components with many nested instances, this may take a few seconds to complete. </em></p><p><strong>8.</strong><em> It will then scan for matching local components. </em></p><p> </p><p><strong>Note:</strong> <em>For large files with thousands of main components, this may take some time, typically several seconds, to complete. </em></p><p><br></p><p><strong>9.</strong> Once the scanning is complete, the plugin will pop. </p><p><strong>Resolve No-Match Local Components:</strong> </p><p>When a matching local component is found for a remote instance, it is automatically relinked to it. When no match is found, then the plugin will ask you to point to the matching local component for each unresolved instance. </p><p> </p><p><strong>1.</strong> Use the "Search for local component" button to display a searchable list with all local components: </p><p> </p><p><strong>Note:</strong> <em>When a component is selected from the list, the plugin will automatically navigate to and select the component within Figma's document. </em></p><p> </p><p><strong>2.</strong> Select the desired local component and press the "Relink" button on the right: </p><p> </p><p><strong>Note:</strong> <em>You can manually change the currently selected component within the Figma file and the change will be reflected in the currently selected list item in the plugin. </em></p><p> </p><p><strong>3. </strong>Repeat for all conflicts. </p><p><strong>Resolve No-Match Local Styles:</strong> </p><p>When a local style is matched to a remote style, it is automatically relinked to it. When no match is found, then you will need to match or link the styles manually. </p><p><br></p><p>There are two options: </p><p> </p><ul><li>Search for and relink to a local style </li><li>Clone the remote style as local </li></ul><p><br></p><p><strong>Relink to a Local Style</strong> </p><p><strong>1.</strong> Use the "Search for local styles" button to display a searchable list with all local styles. Items in the dropdown will be filtered by the style type—paint, effect or text. </p><p><strong>2.</strong> Select the desired local style from the dropdown list and it will become the relink target for the current remote style. </p><p><strong>3.</strong> Repeat the above steps for all conflicts. </p><p> </p><p><strong>Clone a Remote Style as Local</strong> </p><p>If there is no appropriate local style for a remote one, you can clone it and save it as local by pressing the "Plus" button located on the right of each list item. </p><p> </p><p><strong>Detach from Component/Style</strong> </p><p>In case the auto-mapping of component/style is incorrect, or you have manually linked the wrong local component, use the "Detach from Component/Style" button on the right of an already linked item. </p><p> </p><p><strong>Apply Selection</strong> </p><p>When you’re done selecting local components and styles, press the "Apply Selection" button at the bottom right of the plugin. </p>
Plugin Preview
About this plugin
If you ever needed to replace all instances of a remote main component with its local equivalent, you know exactly how painful that can be, especially at scale.
The manual finding and swapping of instances and replacing remote styles with local styles can be very tedious.
The default *Copy/Paste* functionality in Figma creates new top-level components in the destination file but keeps nested instances as instances of the main components in the origin file. A shortcoming of this approach is that it fails to relink all nested instances to the local main components.
But sweat no more—meet InstaRelinker by the Progress Unite UX Team.
Check out 👀 Introductory video (4:02)
We built this plugin to complement the continuous evolution of the Telerik and Kendo UI Kits for Figma. As new UI components are added regularly to our libraries, we faced the need to replicate them between the multiple kits we support. Additionally, our users faced the need to upgrade to newer versions of the Telerik and Kendo UI kits, while preserving any modifications they had already made to their version.
What the Plugin Does
The plugin enables nested *remote* instances and styles within selected *local* main components to be relinked to their local equivalents. When the plugin runs, it will scan the current Figma file for *local* main components and automatically relink any remote instance for which a local main component is matched by name. If no match is found, then the plugin will allow users to manually select the local main component for each remote instance and relink it. The same process is applied for remote styles.
How It’s Done
The plugin relies on Figma's built-in Copy-Paste functionality to move main components from one file to another.
Replicate Components and Run the Plugin:
1. Open the file containing the main components. This is the origin (or source) file.
2. Select the main components or component sets to be replicated.
3. Use copy to put them in the clipboard.
4. Open the file where you want to replicate the main components. This is the destination (or target) file.
5. Paste the components into the file.
6. Make sure the pasted main components are selected and run InstaRelinker.
7. The plugin will scan the selection for remote instances and styles.
Note: For complex components with many nested instances, this may take a few seconds to complete.
8. It will then scan for matching local components.
Note: For large files with thousands of main components, this may take some time, typically several seconds, to complete.
9. Once the scanning is complete, the plugin will pop.
Resolve No-Match Local Components:
When a matching local component is found for a remote instance, it is automatically relinked to it. When no match is found, then the plugin will ask you to point to the matching local component for each unresolved instance.
1. Use the "Search for local component" button to display a searchable list with all local components:
Note: When a component is selected from the list, the plugin will automatically navigate to and select the component within Figma's document.
2. Select the desired local component and press the "Relink" button on the right:
Note: You can manually change the currently selected component within the Figma file and the change will be reflected in the currently selected list item in the plugin.
3. Repeat for all conflicts.
Resolve No-Match Local Styles:
When a local style is matched to a remote style, it is automatically relinked to it. When no match is found, then you will need to match or link the styles manually.
There are two options:
- Search for and relink to a local style
- Clone the remote style as local
Relink to a Local Style
1. Use the "Search for local styles" button to display a searchable list with all local styles. Items in the dropdown will be filtered by the style type—paint, effect or text.
2. Select the desired local style from the dropdown list and it will become the relink target for the current remote style.
3. Repeat the above steps for all conflicts.
Clone a Remote Style as Local
If there is no appropriate local style for a remote one, you can clone it and save it as local by pressing the "Plus" button located on the right of each list item.
Detach from Component/Style
In case the auto-mapping of component/style is incorrect, or you have manually linked the wrong local component, use the "Detach from Component/Style" button on the right of an already linked item.
Apply Selection
When you’re done selecting local components and styles, press the "Apply Selection" button at the bottom right of the plugin.
Plugin Details
Version | 5 |
---|---|
Created | December 1, 2021 |
Last Updated | April 19, 2022 |
Category | Uncategorized |
Creator | Tyanko Yordanov |
Stats | 1961 installs, 159 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- UI:{"eula": "eula.html", "main": "main.html", "error": "error.html", "worker": "worker.html"}
- main:code.js
- Editor Types:figma
More Like This
Discover other plugins in the same category.