10 open source SVG icon libraries that you can use for your next project
Tags: opensource, icons, svg, webdev
Published: 2020-04-30 13:07:23

Last week I started a [thread on reddit](https://www.reddit.com/r/web_design/comments/g8f43y/which_is_your_favorite_icon_font_library/) 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](https://themesberg.s3.us-east-2.amazonaws.com/public/posts/10-open-source-svg-icon-libraries/10-open-source-icon-libraries.jpg)

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](https://fontawesome.com/icons?d=gallery&m=free) and [7,842 pro icons](https://fontawesome.com/icons?d=gallery) in their gallery.

[![Font Awesome Free Icon Library](https://themesberg.s3.us-east-2.amazonaws.com/public/posts/10-open-source-svg-icon-libraries/fontawesome-open-source-icons.jpg)](https://fontawesome.com/) 

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](https://fontawesome.com/start).

*   [Demo](https://fontawesome.com/)
*   [Github repository](https://github.com/FortAwesome/Font-Awesome)

## Ionicons

Ionicons.io 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](https://themesberg.s3.us-east-2.amazonaws.com/public/posts/10-open-source-svg-icon-libraries/ionicons-open-source-preview.jpg)](https://ionicons.com/) 

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="https://unpkg.com/ionicons@5.0.0/dist/ionicons.js"></script>
```

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>
```

You can read more about the [basic usage](https://ionicons.com/usage) from their official website.

*   [Demo](https://ionicons.com/)
*   [Github repository](https://github.com/ionic-team/ionicons)

## CSS.gg

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.

[![CSS.gg Free CSS Icon Library](https://themesberg.s3.us-east-2.amazonaws.com/public/posts/10-open-source-svg-icon-libraries/css-gg-css-icons-preview.jpg)](https://css.gg/) 

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](https://twitter.com/astritmalsija) later released SVG, SVG Sprite, Figma and Adobe XD formats for version 2 to offer a wider range of implementations.

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

```
<link href='https://css.gg/css' rel='stylesheet'>
```

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

```
<!-- UNPKG -->
<link href='https://unpkg.com/css.gg/icons/all.css' rel='stylesheet'>

<!-- JSDelivr -->
<link href='https://cdn.jsdelivr.net/npm/css.gg/icons/all.css' rel='stylesheet'>
```

You can read more about getting started with CSS.gg on the repo’s official [getting started instructions](https://github.com/astrit/css.gg).

*   [Demo](https://css.gg/)
*   [Github repository](https://github.com/astrit/css.gg)

## Feathericons

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](https://themesberg.s3.us-east-2.amazonaws.com/public/posts/10-open-source-svg-icon-libraries/feathericons-svg-icons.jpg)](https://feathericons.com/) 

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.

*   [Demo](https://feathericons.com/)
*   [Github repository](https://github.com/feathericons/feather)

## 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](https://themesberg.s3.us-east-2.amazonaws.com/public/posts/10-open-source-svg-icon-libraries/eva-open-source-icon-library.jpg)](https://akveo.github.io/eva-icons/) 

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
```

*   [Demo](https://akveo.github.io/eva-icons/)
*   [Github repository](https://github.com/akveo/eva-icons)

## Heroicon

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](https://themesberg.s3.us-east-2.amazonaws.com/public/posts/10-open-source-svg-icon-libraries/heroicons-svg-open-source-icons.jpg)](https://heroicons.dev/) 

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.

*   [Demo](https://heroicons.dev/)
*   [Github repository](https://github.com/refactoringui/heroicons)

## Bootstrap icons

A few weeks ago I wrote about the [new Bootstrap 5 icons](https://themesberg.com/blog/bootstrap/bootstrap-icons-vs-fontawesome) 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](https://themesberg.s3.us-east-2.amazonaws.com/public/posts/10-open-source-svg-icon-libraries/bootstrap-5-svg-icons-preview.jpg)](https://icons.getbootstrap.com/) 

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](https://icons.getbootstrap.com/#install) the implementation methods.

*   [Demo](https://icons.getbootstrap.com/)
*   [Github repository](https://github.com/twbs/icons)

## 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](https://themesberg.s3.us-east-2.amazonaws.com/public/posts/10-open-source-svg-icon-libraries/remix-icon-svg-open-source.jpg)](https://remixicon.com/) 

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.

*   [Demo](https://remixicon.com/)
*   [Github repository](https://github.com/Remix-Design/remixicon)

## Octicons

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](https://octicons-git-v2.primer.now.sh/octicons/) of the library by improving the design and variety of icons.

[![Octicons Free Icon Library](https://themesberg.s3.us-east-2.amazonaws.com/public/posts/10-open-source-svg-icon-libraries/official-github-icon-library-open-source.jpg)](https://primer.style/octicons/) 

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](https://octicons-git-v2.primer.now.sh/octicons/packages) that you can use to get started working with Octicons.

*   [Demo](https://primer.style/octicons/)
*   [Github repository](https://github.com/primer/octicons)

## Ikonate

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](https://themesberg.s3.us-east-2.amazonaws.com/public/posts/10-open-source-svg-icon-libraries/ikonate-open-source-svg-icons.jpg)](https://ikonate.com/) 

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.

*   [Demo](https://ikonate.com/)
*   [Github repository](https://github.com/mikolajdobrucki/ikonate)

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.