Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.06 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.06 KB

Figma Duplicate Main Component Plugin

This is a Figma plugin that duplicates the selected main component and adds a "copy" suffix to the name of the new component. It also positions the new component 50px to the right of the original component and focuses the view on the new component.

Usage

  1. Select a main component on the page.
  2. Run the plugin from the Plugins menu or using the keyboard shortcut.
  3. The plugin will duplicate the selected component, add a "copy" suffix to its name, and position it 50px to the right of the original component.
  4. The plugin will also select the new component and focus the view on.

Installation

  1. Clone this repository or download the ZIP file.
  2. Open Figma and go to the Plugins menu.
  3. Click "Create new plugin" and choose "Link existing plugin".
  4. Select the manifest.json file from the repository or ZIP file.
  5. The plugin will be added to your Plugins menu.

License

This plugin is licensed under the MIT License. See the LICENSE file for details.


Feel free to customize this description to fit your needs.