How to use UIcons?

There are three ways to include UIcons in your website project: you can insert them through our CDN, you can download them and get the complete icon pack in all available formats (SVG, CSS, font file and HTML, for example), or you can install them through the npm package manager.

Using UIcons via CDN

CDN is the quickest way to include UIcons on your page. You can copy-paste the link into the HTML <head> section to load our CSS or use @import to insert the code into your CSS.

Select the icon you want to use and click on the copy button under the "CDN" section to add the code to your project.

Using UIcons via Download

The "Download full style" feature allows you to download the entire icons pack along with the individual SVG for each icon, the CSS stylesheets, the font files, and an HTML sample.

Select the icon you want to use and click on the download button under the "Download" section to get the entire icons pack.

Using UIcons via npm package manager

Install the latest version of UIcons – which includes each individual icon in SVG format, CSS stylesheets and font files – and easily keep your project up to date with the latest icons and enhancements through the npm package manager.

npm i @flaticon/flaticon-uicons

In short, with this method you get the same result as with the downloadable format but in an easier-to-update package.
For more detailed information, visit the repository page

What’s in the download?

Every style package of UIcons contains the following directories and files:

Files & folders What they are
/css Stylesheets for Web Fonts
/svg Individual SVG for each icon
/webfont Web Font files used with CSS
Using Web Fonts with CSS

The /css/uicons-[your-style].css file contains the core styling plus all of the icon styles that you’ll need when using UIcons. The /web fonts folder contains all of the typeface files that the above CSS references and depends on.

Copy the entire /web fonts folder and the /css/uicons-[your-style].css into your project’s static assets directory (or wherever you prefer to keep front end assets or vendor stuff).

Add a reference to the copied /css/uicons-[your-style].css file into the <head> of each template or page that you want to use UIcons on.

Replace uicons-[your-style].css with the name of the style you downloaded.

i.e.: uicons-rounded-outline.css

<head>
  <link href="/your-path-to-uicons/css/uicons-[your-style].css" rel="stylesheet"> <!--load all styles -->
</head>
<body>
  <i class="fi fi-ro-user"></i>
  <i class="fi fi-ro-arrow-right"></i>
  <i class="fi fi-ro-book"></i>
  <i class="fi fi-ro-clean"></i>
</body>

Since you’re managing all of the downloaded files yourself, make sure the references in your pages <head> are accurate with where you’ve moved all of UIcons files in your project.

Using multiple styles

Do you want to use more than one style? To do so, you have to download every style you want to use in your project.

UIcons allows you to use two different corner styles (rounded and straight) and three different weights (regular, bold and solid) for each of them.

Next you will have to place all the files in the folders as we explained in the previous section, and then add a reference into the section for every style you downloaded.

<head>
  <link href="/your-path-to-uicons/css/uicons-rounded-regular.css" rel="stylesheet">
  <link href="/your-path-to-uicons/css/uicons-rounded-bold.css" rel="stylesheet">
  <link href="/your-path-to-uicons/css/uicons-rounded-solid.css" rel="stylesheet">
</head>

Every style makes use of a different prefix as we can see in the next table:

Weight Corner Prefix Example Result
Regular Rounded fi-rr <i class="fi fi-rr-user"></i>
Bold Rounded fi-br <i class="fi fi-br-user"></i>
Solid Rounded fi-sr <i class="fi fi-sr-user"></i>
Regular Straight fi-rs <i class="fi fi-rs-user"></i>
Bold Straight fi-bs <i class="fi fi-bs-user"></i>
Solid Straight fi-ss <i class="fi fi-ss-user"></i>
Type Prefix Example Result
Brands fi-rr <i class="fi fi-brands-instagram"></i>

We recommend keeping the /web fonts and /css folders in the same directory. If you don’t, you’ll need to change the path to the web fonts mentioned in each style’s CSS file.

Using the icons

With the references complete, you can now start referencing icons in your templates or pages.

<body>
  <i class="fi fi-rr-user"></i>
  <i class="fi fi-br-arrow-right"></i>
  <i class="fi fi-sr-book"></i>
  <i class="fi fi-rr-clean"></i>
</body>
License summary

Our license allows you to use the content:

  • For commercial and  personal projects
  • On digital or  printed media
  • For an  unlimited number of times  without interruption
  • Anywhere  in the world
  • To make  changes  and create derivative works

This text is a summary provided for information purposes only. It does not constitute any contractual obligations. For more information, please read our Terms of Use before using the content

How to attribute

Creating quality icons takes a lot of time and effort. We only ask you to add a small attribution link. Choose the medium in which you are going to use the image.

Copy this link and paste it wherever it’s visible, close to where you’re using the image. If that’s not possible, place it at the footer of your website, blog or newsletter, or in the credits section.

Uicons by <a href="https://www.flaticon.com/uicons">Flaticon</a>

If you have any other questions, please check the FAQ section

bold regular solid rounded straight

How likely are you to recommend Flaticon to a friend?

0 1 2 3 4 5 6 7 8 9 10
Not you? Very likely