Skip to content
Say hello to Web Awesome, the biggest and best library of open-source web components.
Pre-order today!
You're viewing the Version 5 Docs. View the latest

Font Awesome APIs

Our APIs are ready to answer all your requests.

Font Awesome Javascript API

The Font Awesome JavaScript API pairs well with JavaScript-based projects and enables advanced rendering icons and more control over some features using our SVG+JS method of rendering icons. Using this API is an advanced feature and requires that you know how to tread water in the deep end of the pool and are familiar with JavaScript and using APIs.

The Javascript API is great for:

  • Subsetting icons with some Tree Shaking
  • Adding a counter to the layers of your icon
  • Adding text to the layers of your icon

Font Awesome Conflict Detection API

The Conflict Detection API is for developers working with Font Awesome in environments where other versions of Font Awesome may be loading and causing conflicts, like WordPress.

The Conflict Detection API is good for:

  • Debugging environments where multiple versions of Font Awesome may be loading
  • Identifying and reducing conflicting Font Awesome versions

GraphQL API

If you’re looking for icon and release metadata, our GraphQL API is the best way to programmatically pull information about Font Awesome icons and releases. Want to build a killer Font Awesome plugin for your application? This is the way.