Component Swapper
Replaces the selected objects with similarly named objects from the library
Plugin Preview
About this plugin
Replaces the selected objects with similarly named objects from the library.
For example, if you need to replace one icon set with another. Works within any selected object including components.
The objects should differ by the beginning of their names, while the rest of the name should remain the same.
For example: a_icon → b_icon or filled_icon → outlined_icon.
To use it, you need to:
- Enter the library ID in the settings (⚙️)
- Enter your access token
- Enter a name fragment of the objects to be replaced and a fragment of the new objects' names
- Select the objects you want to replace and run the plugin
How to find the library ID
In your library, click Share and copy the link.
The library ID is the part that comes after /design/ in the URL:
www.figma.com/design/{file-id}/unnecessary_part_of_the_link
How to find the access token
Read the article in Figma’s documentation
Plugin Details
Version | 2 |
---|---|
Created | April 2, 2025 |
Last Updated | April 9, 2025 |
Category | File organization plugins |
Creator | Victor Khodak |
Stats | 0 installs, 0 likes |
Pricing | Free |
Technical Details
- API:1.0.0
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- https://api.figma.com
More Like This
Discover other plugins in the File organization plugins category.