/fa-icon-to-svg

Replace your font icons with SVGs

Primary LanguageHTMLMIT LicenseMIT

Font Awesome - Font icon to SVG

Replace your font icons with SVGs

Usage

Simply search for the icon, click it, and copy the SVG code.

Default styling and attributes

By default, the SVG will have:

  • aria-hidden="true" - Hide for screenreaders
  • width="1em" - Inherit the parent font size
  • fill="currentColor" - Inherit the parent element text colour

Build locally

Install dependencies

npm i

Build

node build.js