gluons / Font-Awesome-Icon-Chars

The list of Font Awesome icon unicode characters in several file format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Font Awesome Icon Character List

license npm npm Known Vulnerabilities Travis TSLint Renovate enabled

The list of Font Awesome icon unicode characters in several file format.

This list contains only free icons.

Installation

Via NPM:

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

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.

About

The list of Font Awesome icon unicode characters in several file format.

License:MIT License


Languages

Language:TypeScript 100.0%