DEV Community

Cover image for 10 open source SVG icon libraries that you can use for your next project
Zoltán Szőgyényi for Themesberg

Posted on • Originally published at

10 open source SVG icon libraries that you can use for your next project

Last week I started a thread on reddit asking fellow developers a simple question: which is your favourite icon library? The post quickly became popular and I found out about a lot of other awesome open source icon libraries that I have never heard of. I decided to create a blog post listing the 10 best open source icon libraries based on the Reddit thread.

10 open source svg icon libraries

Please do be aware that all of the libraries listed below are completely open source as I have checked the licensing terms and conditions. Another condition for the libraries below is that they need to have a modern and up to date design. So let’s begin:

Font Awesome

I believe most of us have used Font Awesome icons at least once until now as they were one of the first highly popular open source icon libraries to be released. As of now they have a total of 1,588 free icons and 7,842 pro icons in their gallery.

Font Awesome Free Icon Library

Probably one of the main reasons Font Awesome is still being largely used is because of the huge collection of various icons they have to offer. Our website actually uses Font Awesome Pro’s duotone icons and we believe that it makes our website stand out a bit more compared to other similar websites.

Another interesting feature Font Awesome has to offer is a personalized CDN link that you can generate if you create an account. By doing this, you can conditionally exclude regular icons but use only the duotone ones.

Of course you can also choose to only include a couple of icons by copy-pasting the SVG code directly, which I do recommend if you do not use more than 20-30 icons on your website.

In conclusion there are many ways of using Font Awesome, such as copying the SVG source of a single icon, downloading the library or by using a public or their own CDN. They have a great page to help you get started with Font Awesome.

Ionicons is another open source SVG powered icon library featuring 457 standalone icons with three different styles: outline, filled and sharp. I particularly like how clean and straightforward the design of the outlines and shapes are. I would definitely recommend trying it out for your next project.

Ion Icons Free Icon Library

Using ionicons is well documented and if you want to use the whole library instead of just standalone SVG’s, you can include the following script in the footer:

<script src=""></script>
Enter fullscreen mode Exit fullscreen mode

Afterwards just add the following element in your HTML template and change the name attribute to match the icon that you want to show like this:

<ion-icon name="heart"></ion-icon>
Enter fullscreen mode Exit fullscreen mode

You can read more about the basic usage from their official website.

If you’re an active member of the dev community on Reddit, perhaps you noticed a new icon library being released which uses only CSS for stylings. Currently it features over 704 standalone icons based on categories such as alerts, arrows, code, design and many more. Free CSS Icon Library

There have been some debates about whether it’s better to use CSS or SVG in terms of performance, but the creator of the library @astritmalsija later released SVG, SVG Sprite, Figma and Adobe XD formats for version 2 to offer a wider range of implementations.

Getting started with is as easy as running a npm -i command and by later including the following stylesheet inside your head tag:

<link href='' rel='stylesheet'>
Enter fullscreen mode Exit fullscreen mode

Of course there are CDN alternatives as well, such as using UNPKG or JSDelivr like this:

<!-- UNPKG -->
<link href='' rel='stylesheet'>

<!-- JSDelivr -->
<link href='' rel='stylesheet'>
Enter fullscreen mode Exit fullscreen mode

You can read more about getting started with on the repo’s official getting started instructions.


Feathericons is another very good looking and clean set library featuring 282 SVG icons. By default it comes only with SVG as the main format, but that’s also ok because it is right now the recommended way of using icons as it is the fastest.

Feathericons Free Icon Library

I like that you can configure the sizing, stroke width and color of the icons before you download them. You can also switch dark and light mode by clicking on the moon icon on the upper right side of the website.

Getting started with Feathericons is as easy as downloading a SVG file and including it in your markup by either using a src or by using it as an inline SVG object.

Eva Icons ❤️

Eva Icons is a set of 480 beautifully crafted open source icons served both in SVG and PNG format. There are two main outlined and filled styles and I love the fact that you can select out of the box zooming, pulsing or shaking animations on hover.

Eva Icons Free Icon Library

Getting started with Eva Icons is straightforward by downloading the SVG or PNG file after selecting the icon of use or by downloading the whole set of icons. You can also include Eva Icons by installing the NPM package like this:

npm i eva-icons
Enter fullscreen mode Exit fullscreen mode


Heroicons is another awesome open source icon library built by the creators of Tailwind CSS. It features over 165 standalone icons with a fill and outline style but also offering a dark and white version of each element. The appearance of the icons is very premium and well crafted.

Heroicons Free Icon Library

Getting started with these icons is as easy as clicking on one of the icons and copying the inline SVG code that you can use right away in your projects. I like the fact that they also offer the library in Figma. If you’d like to include all of the icons you can download all SVG files from the public repository.

Bootstrap icons

A few weeks ago I wrote about the new Bootstrap 5 icons by comparing it to Font Awesome. Currently it features over 600 custom SVG powered icons and I think it does stand out in terms of design. If you like using Bootstrap as a CSS Framework, you should really consider using Bootstrap 5 Icons for your next project.

Bootstrap Free Icon Library

Getting started with Bootstrap 5 icons is as easy as copying the SVG code and then you can use it however you see fit, whether by using it inline, including it as a source for an image or by creating pseudo code classes in CSS. Either way their website clearly explains the implementation methods.

Remix Icon

Remix Icon is a large collection of beautiful 2149 open source icons under the Apache License. There are various categories of icons to choose from such as business, communication, finance, map and many more. It’s definitely worth a look.

Remix Free Icon Library

Getting started with Remix Icon is quite easy by being able to download SVG or PNG version or by directly copying to the clipboard the inline SVG code. Alternatively you can also choose to download the whole package as single .svg files or as a SVG sprite file.


Octicons is a set of over 100 open source icons which Github also uses for their main website. Apparently they are already working on a second version of the library by improving the design and variety of icons.

Octicons Free Icon Library

A huge advantage of Octicons is the fact that you can also get it as a ready-to-use package in React, Ruby, Rails, Jekyll and Javascript. Here’s all the packages that you can use to get started working with Octicons.


Lastly but not least Ikonate is another awesome open source icon library featuring around 100 flat design based premium icons. It is generously licensed under the very permissive MIT License.

Ikonate Free Icon Library

You can easily configure the size, border width, border cap & corners and color of the icons before exporting. In the export ZIP file you’ll get a html file with all the selected inline icons, also a folder with separate SVG files and a sprite sheet as well.

In conclusion please support these libraries by giving them a Github star and letting them know how awesome of a job they did. Consider sharing this list with your friends or colleagues if you haven’t decided on using a specific icon library for your next project.

Top comments (17)

ajkachnic profile image
Andrew • Edited

I don't know if it's open source, but iconmonstr has great free icons

zoltanszogyenyi profile image
Zoltán Szőgyényi

It is not open source, you can only use it for personal websites for instance. Here's an example from their license agreement:

"Licensee may not sell, redistribute, sublicense, share or otherwise transfer the Work to other people
or entities."

Although their icons look great it's not open source :(

ajkachnic profile image

But the license also says

Licensee may use the Work in non-commercial and commercial projects, services or products without attribution.

I believe that means you can use them commercially, but you don't own them?

Thread Thread
zoltanszogyenyi profile image
Zoltán Szőgyényi • Edited

If this is part of the license then it is not open source. It's just free under their license agreement. Most of the other icon libraries listed above are licensed under the MIT License which is the most permissive license.

license agreement

Thread Thread
ajkachnic profile image

Okay thanks for clarifying

Thread Thread
zoltanszogyenyi profile image
Zoltán Szőgyényi • Edited

This basically means that you can not use these icons in a product that you will further sell, such as a website template in comparison with the other libraries listed above where you can do whatever your heart wishes :)

gokulsupersaiyan profile image
Gokul prabhu

Another source for free icons :

zoltanszogyenyi profile image
Zoltán Szőgyényi

This is cool, I'll update the list in a short while. Thanks for the suggestion Gokul!

bestnowreal1 profile image
Best Now Real • Edited

You could check my website that very interresting when it comes to Mini Phú Quốc real estate

adisreyaj profile image
Adithya Sreyaj

Fan of Eva and Remix Icons... Have been using a lot of Remix icons lately.

patrickroethlisberger profile image
Patrick Röthlisberger

Not really icons but I recently used

emtr0 profile image

Great list. Definitely saving for the future. Thank you!

hanoitown profile image

Could you check what kind of svg lib this real estate site is using

lukaszholeczek profile image
Łukasz Holeczek

You can also try our icons - CoreUI Icons. I'm very curious what You think about it.

ckissi profile image
Csaba Kissi

One more SVG icon pack created by Pawel from Poland. Tabler Icons have a configurable stroke, color, and size.

yne profile image
Rémy F.

Can you try ?
it's SVG-based, with ligature support and it can compile your SVG selection to a font file :)

zoltanszogyenyi profile image
Zoltán Szőgyényi

I'll check it out, might even add it to the list. Thanks for the suggestion!

Some comments may only be visible to logged-in visitors. Sign in to view all comments.