Skip to main content

How to Create a Dynamic Icon Library With Sketch

Today we’re going to create a dynamic icon library in Sketch. This could be a pretty complicated process, but we’re going to save ourself a lot of time and stress by using a plugin called Sketch Icons. Let’s dive in!

Begin by downloading and installing the plugin. I personally enjoy using Runner to install my Sketch plugins, so you can use that method too if you wish.
Start a new document and declare a few colors. Do this by making a few artboards and giving them suitable color names. Place a shape on each one, with whatever color you see fit, then convert each artboard into a symbol. You should end up with something like this:
Three sketch artboards rectangles symbols
Three nicely organized sketch artboards, rectangles, symbols
I’m going to bulk import a few icons by going to Plugins > Sketch Icons > Import icons... Sketch Icons will ask what size I’d like the artboard for each one to be, so in this case I settle on artboards of 24px with padding of 3px. I also make sure the checkbox is checked to convert each one to a symbol, and that Add color mask is also checked. 
As we’re using a color mask, we’re given the choice to take the initial color from a color picker, or from symbols in our own library. As you can see in the image below, I’m able to select the three symbols in my current document–perfect!
Configuring Sketch Icons import
Configuring Sketch Icons import
Once we’re happy with our settings, we click Continue and head over to select the icon files we want to import. Your icons will be added to your document, neatly arranged in suitably named artboards, and available as symbols.
Imported icons into Sketch
Imported icons into Sketch
If you look at the layers in the image above, each of these icon symbols is essentially a color layer, with the icon underneath acting as a mask.
When you add one of these icon symbols to a page in your document you can change its color using the color Overridein the right hand sidebar. The color symbols already prepared are available in a handy dropdown.
Additionally, if you need to change any of the colors you set as symbols initially, you can go to that symbol, change the color of the rectangle within it, and that change will be reflected across all the affected icons in your document.
These libraries make single Sketch files available globally, including all the symbols and shared styles within them. To have your icons made part of a library, go to Preferences > Libraries > Add Library. Select your newly created icon document and it will be added to your libraries list.
Now you can create a new document (feel free to close your icon document too) and have all the icons, with their colors, readily available for use.
The Sketch Icons plugin gives us huge flexibility where managing icons in Sketch is concerned. This tutorial scratches the surface and has started you off in the right direction; let us know how else you work with icons in Sketch!
And before I go, check out some of the icon sets available on Envato Elements; all ready and waiting to be added to your dynamic Sketch icon libraries!


You may also want to read these ⤵️

Referee kills player in a football match

A referee is facing murder charges after football players allegedly forced him to

Do not watch this while driving

Kids are lovely and fun to watch most times. I know most of you did this and so many other funny stuffs as a kid. Feel free to share yours... Do not watch this while driving

Over 40 Million Accounts Found Guilty

Microsoft has uncovered 44 million user accounts using usernames and passwords that have been leaked through security breaches.

RAW TALENT ep1 (freestyle by Gdlpeid)

Just watch! Freestyle by ''Gdlpeeid''. A rapper with a difference.  Pure raw talent.

By February 2020 - WhatsApp Will Stop Working on These Phones

Every now and then, WhatsApp does fish out a list of old phones for which support is discontinued and if you have an old phone lying around as a backup, you might want to read on.

These 10 Powerful Words And Phrases Defined The Decade

Honestly, it has been a wonderful decade to remember.  A lot has happened and a lot has been spoken also. But our focus is on the words and phrases spoken.  Below are words and phrases spoken between 2010 - 2019 that defined the decade.....

Apple Has Released iOS 13.2.2 And Fixes Major Issue

All thanks to Apple,  the tech  giant just released iOS 13.2.2, which addresses the issue of background apps being killed prematurely, along with a handful of other annoyances.

This Magnetic thread Can Be Used To Clear Blood Clot in The Brain

Link from  Researchers at MIT developed a thread that can be steered magnetically to glide through the brain's blood vessels and

This gigantic monster device turns wave energy into electricity

This 826-ton buoy was developed by OceanEnergy to turn wave energy into electricity. IEEE Spectrum reported that "OE Buoy" was towed from Oregon to Hawaii, where it will undergo a series of tests that will prove whether it can withstand the battering waves while generating electricity. Click the link below to watch the video..

Lionel Messi Barcelona exit date revealed

The Barcelona Legend has decided on when he wants to quit the club and even has a successor in his mind already.