Are you a beginning front-end developer? Would you like to get the most out of vector icons? Then this guide is for you!
This three-part series will help you understand everything you need to know about SVG icons, whether you’re using them for the first time or you’re a seasoned pro. Over the course of this series, we’ll provide plenty of explanations, tips, screenshots, and videos to help you get things done.
This series will help you:
Using SVG icons is way superior to the old way of doing everything with raster icons and fonts.
For coders, the advantages are:
For the website visitors, the advantages are:
There are some drawbacks, though:
The latter requires some pricy workarounds, and we, the Icons8 team, have learned that the hard way.
We suggest using either Adobe Illustrator or Sketch.
We use all three but for different operations
The most common tasks are:
The authors of this article work for Icons8, therefore Icons8 is a little like our baby. As we develop the tools precisely for editing the icons, we’ll suggest some of our tools when it saves time. However, we’ll always propose an alternative with general-purpose software, such as Adobe Illustrator. Our tools mentioned in the article are always free.
Here we consider two ways of doing this task. Both use proprietary software, but Option 2 is way faster, and it’s free.
If you’re using Adobe Illustrator, select Edit > Edit Colors > Recolor with Preset > 1 color job…
Click through the next dialog. The default options are fine; I’ll choose None so we can choose any color we want:
In the following dialog, double-click new color box:
A standard Photoshop palette should open, where you can choose the color.
Choose the color, click OK, and enjoy your newly colored icon!
We’ve also a more detailed step-by-step tutorial on recoloring icons which also covers finding, opening, and exporting icons. It also includes a shortcut for turning black icons white.
You can use the Icons8 App to recolor the icons in a couple of clicks instead.
Within the Icons8 App window, select the recolor button:
The OS X Colors dialog will open. Raise the indicated slider to increase the luminosity of the color wheel.
Select your desired color by clicking directly on the color wheel. You can lighten or darken the color by adjusting the luminosity slider.
Scaling is not a problem and usually doesn’t require editing the icons.
If you need to scale SVG for your web pages, you’re supposed to change its size using CSS or HTML tags instead of editing the image file.
You can use our app to generate HTML/CSS code to embed an SVG. Try uploading any SVG and click the Generate HTML button. After you find a suitable code, you can either:
Still unsure of exactly what to do? No problem, we made a video. The video is a response of our support to the customer called Alex, but you may find it useful too:
If you’re trying some new software or new presets, check the size of an icon after saving. Normally it’s 200-800 bytes for icons. However, some software includes a lot of redundant information, resulting in icon file sizes of 2-3 KB or more. If this is the case, try either:
Getting Down and Dirty with Icon Editing – advanced methods of icon editing: turning blurred icon into a pixel-perfect one
Combining Icons for Fun and For Blood – coming soon
Sometimes you follow the tutorial, and some of the steps go wrong, and you can’t continue. Even after 10 years of working on icons, we run into problems here and there.
If that happens, we’re ready to help in the comments. Heck, we might even make a video for you. Leave comments!
This is where we place all the possible blocks that we use for our articles…
Creating illustrations for a children’s book is challenging, especially if you're not an artist. Learn…
Nostalgic typefaces are trendy and more varied than ever. Discover the story behind vintage typography…
Curious about the diverse world of nostalgic fonts? Keep reading to explore typography from the…
Check out arrow icons in different aesthetics and get some inspiration on how to implement…
Step-by-step tutorial on generating AI illustrations for the online school landing page design.
This website uses cookies.