2.6.0 • Published 4 years ago
font-awesome-icon-chars v2.6.0
Font Awesome Icon Character List
The list of Font Awesome icon unicode characters in several file format.
This list contains only free icons.
Installation
Via NPM:
npm install font-awesome-icon-chars
Via Yarn:
yarn add font-awesome-icon-chars
Usage
Assets
You can use characters list file in character-list directory.
All characters list files will be placed in this directory.
Node.js
You can also get list of icon from this module.
const faIconChars = require('font-awesome-icon-chars');
const { solid, regular, brands } = faIconChars;
// Solid icons
for (let icon of solid) {
console.log(`Icon ID: ${icon.name}, Icon Unicode: ${icon.unicode}`);
}
// Regular icons
for (let icon of regular) {
console.log(`Icon ID: ${icon.name}, Icon Unicode: ${icon.unicode}`);
}
// Brands icons
for (let icon of brands) {
console.log(`Icon ID: ${icon.name}, Icon Unicode: ${icon.unicode}`);
}
Schema
📜 CSON, JSON, TOML, YAML
solid
(Icon[]
) — Font Awesome solid iconsregular
(Icon[]
) — Font Awesome regular iconsbrands
(Icons[]
) — Font Awesome brands icons
Icon
name
(string
) — Font Awesome icon name.unicode
(string
) — An unicode of Font Awesome icon.
📜 XML
<style>
<solid>
— Font Awesome solid icons<icon id="...icon name...">
id
(attribute) — Font Awesome icon name<unicode>
— Contain an unicode of Font Awesome icon.
<regular>
— Font Awesome regular icons<icon id="...icon name...">
id
(attribute) — Font Awesome icon name<unicode>
— Contain an unicode of Font Awesome icon.
<brands>
— Font Awesome brands icons<icon id="...icon name...">
id
(attribute) — Font Awesome icon name<unicode>
— Contain an unicode of Font Awesome icon.
2.6.0
4 years ago
2.5.0
5 years ago
2.4.0
5 years ago
2.3.0
5 years ago
2.2.0
6 years ago
2.1.0
6 years ago
2.0.0
6 years ago
1.3.0
6 years ago
1.2.5
7 years ago
1.2.4
7 years ago
1.2.3
7 years ago
1.2.2
7 years ago
1.2.1
7 years ago
1.2.0
7 years ago
1.1.2
8 years ago
1.1.1
8 years ago
1.1.0
8 years ago
1.0.4
8 years ago
1.0.3
8 years ago
1.0.2
8 years ago
1.0.1
8 years ago
1.0.0
8 years ago