A plugin for Sketch to convert selected layers to individual symbols.
Branch: master
Clone or download
demersdesigns Merge pull request #20 from demersdesigns/patch-3
Adding quotes around version number
Latest commit cb62337 May 30, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BatchCreateSymbols.sketchplugin Adding quotes around version number May 30, 2017
README.md Add compatibleVersion and version badges May 30, 2017

README.md

alt="Sketch Batch Create Symbols"

Download from Sketchpacks.com Compatible Sketch Version

Overview

In Sketch, when you have a bunch of layers that need to be converted to symbols you have to select them one by one and use the 'Convert to Symbol' function. Multiple selections will be merged into one symbol.

This plug-in will create a symbol for every item that is currently selected. This is really handy when you need to convert a bunch of layers to symbols.

Usage

Select the shapes, layers, images, or groups that you want to convert into symbols. Then from the Plugins menu, choose 'Batch Create Symbols' and pick from one of the three options.

Use Layer Names will create symbols and use the existing layer names.

Use Custom Names option will allow you to add your own name that the newly created symbols will use.

This works by taking the name you enter into the input and adding a number after it for each symbol to be created.

For example, if you have three layers, and you enter 'portfolio' as the custom name, each symbol will be named portfolio-1, portfolio-2, and portfolio-3.

Use Custom Folders allows you to create symbols within a folder structure.

If you select a layer or multiple layers and choose Custom Folders, you can enter in a series of names separated by slashes to create a series of nested folders in the insert symbols menu.

For example, entering iOS/3x/assets/ would create iOS>3x>assets>symbol-names.

Please note: you must have a trailing slash at the end of your folder structure for this to work properly.

Manual Installation

  1. Download from Github
  2. Unzip
  3. Locate and double-click on the BatchCreateSymbols.sketchplugin file
  4. When Sketch alerts you that the plugin has successfully been installed, you are ready to go!

Install Sketch Batch Create Symbols with Sketchpacks

Changelog

v 1.1 - Add Use Custom Folders option. Thanks PsyGik!

v 1.0 - Initial release.

License

Licensed under MIT.