@proicons/webfont
v4.10.0
Published
Use ProIcons as a webfont on your site
Downloads
104
Maintainers
Readme
ProIcons Webfont
Features
- Works out of the box, no scripts needed.
- Contains TTF, WOFF, WOFF2 and EOT formats
Read the full documentation here
Installation
Import via UNPKG
<link rel="stylesheet" href="https://unpkg.com/@proicons/webfont">
Install via NPM
npm install @proicons/webfont
<link rel="stylesheet" href="path/to/@proicons/webfont/ProIcons.css">
Usage
Import a ProIcon by creating an <i>
element with the class proicon-[icon name]
. Make sure the icon name is in kebab-case.
To import the Add icon:
<i class="proicon-add"></i>
[!IMPORTANT] If importing a variable icon such as
add-square-multiple--var
, make sure to only use one hyphen beforevar
. This class name woul be replaced withadd-square-multiple-var
.