Skip to main content

Icon font maker — guide

Turn your SVG icons into an icon font like FontAwesome

Overview

The icon font maker turns your SVG icons into a font like FontAwesome: on the page you write <i class="ic ic-home"></i> and the icon appears like text — its size and colour are controlled by font-size and color.

The processing happens entirely in the browser: your SVG files are not uploaded to the server.

Features and limits

Number of iconsAt most 500 in one set
Size of one SVGup to 100 KB
ResultWOFF2, WOFF, TTF, CSS, a demo page, a project file (.json)
ExtrasSVG sprite, React and Vue components
Interface languageUzbek, Russian and English
FilesNever leave the browser: not sent to the server

Step by step

  1. 1

    Add the icons

    Drop SVG files onto the area, or tick and add the icons you need from the “Ready-made sets” section. There is also a “Start with an example” button to begin.

  2. 2

    Put them in order

    In the second step, change the icon names (they become the CSS class names), rotate or mirror them. Read the warnings under the icons: they say what was changed.

  3. 3

    Choose the settings

    The set name becomes the font's name; the CSS prefix is the start of the class name (for example with “ic” you get <i class="ic ic-home">). If needed, turn on “Multicolour” mode.

  4. 4

    Look at the result

    In the third step the font itself is built and the icons are drawn with that font — before downloading you see the actual result. Try changing the size and colour.

  5. 5

    Download

    Tick the extras you need (SVG sprite, React, Vue) and press “Download ZIP”. There is a README inside the ZIP.

Adding the font to a page

Link the file from the css/ folder inside the ZIP to your page and write the icon with <i>:

<link rel="stylesheet" href="css/my-icons.css">

<i class="ic ic-home"></i>

Sizes: ic-xs, ic-sm, ic-lg, ic-2x, ic-3x, ic-4x. Rotation: ic-rotate-90, ic-rotate-180, ic-rotate-270, ic-flip-h, ic-flip-v. For equal width use ic-fw, for a spinning icon ic-spin. (In place of ic there will be the prefix you chose.) You can see all the icons on the demo/index.html page and click an icon to copy its class name.

Colour and multicolour icons

  • Single colour (normal): the icon appears in the colour of the surrounding text (color).
  • Multicolour (2 layers): the icon has two colours. The colours are set with the CSS variables --ic-1 and --ic-2. In the second step you can choose which layer each colour goes to.
  • A font never has more than two colours. For full-colour icons use the SVG sprite or the components.

Sprite and components

  • SVG sprite: <svg><use href="svg/sprite.svg#ic-home"/></svg>.
  • React: import { HomeIcon } from './react', then <HomeIcon width={24} />.
  • Vue: import { HomeIcon } from './vue', then <HomeIcon width="24" />.
  • The components and the sprite also follow the text colour (or the CSS variables in multicolour mode).

Saving the project and privacy

“Save project” downloads the set to your device as an .icon-project.json file; with “Open project” you carry on later. This file is also inside the ZIP. Your SVG files, the project and the result are not sent to the server; a draft of your work is kept only in your browser itself.

Frequently asked questions

Ready?

Go to Icon font maker and try it yourself.

Go to Icon font maker