Socket
Socket
Sign inDemoInstall

font-awesome-icon-chars

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

font-awesome-icon-chars

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


Version published
Weekly downloads
2.6K
decreased by-17.59%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 17 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc