Speed up your site by creating a super-lean, super-fast subset of Font Awesome! Choose just the icons you need then serve them up as a subset on your site or app to make it faster than ever.
Advertisement
Remove ads with a Pro plan!
A subscription to a Pro-level plan will remove all third-party advertisements on fontawesome.com.
And of course Pro-level plans come with…
All 26,233 icons in Font Awesome
5 Classic styles of every icon
3 Sharp styles of every icon
A Perpetual License to use Pro
Services and tools to make easy work of using icons
This is a Pro feature so you'll need to
grab a Pro-level plan
to use it. You'll also get thousands more icons, access to services, and support! Already got a plan?
Sign in!
What is a Subset?
A Font Awesome subset is a bundle that includes all of the utility, styling, and ability to easily add icons into your project that comes with Font Awesome, but only has some of the icons.
Since Font Awesome has a LOT of icons - and we're adding more all the time - you're probably not using all of the icons in a project. Slimming down to just the ones you're using in your project can keep your team aligned on the desktop and improve performance on the web.
If you're using the Kit embed code to get your Kit into your web project, Auto-Subsetting is already built in. Auto-Subsetting slims down the number of icons and serves the ones you're using in your project, site, or app. It's pretty good at slimming things down but is a little more weight and a bit more magic than custom subsetting.
Auto-Subsetting is a great choice overall - especially when you want things to be easy or you'll be adding new icons and don't want to have to remember to add them to your custom subset in advance.
Here's where Auto-Subsetting is available:
Implementation Method
Available?
Hosted Kit using SVG + JS
Self-hosted SVG + JS
Hosted Kit using Web Fonts (loaded via JS)
Hosted Kit using Web Fonts (loaded via CSS)
Self-hosted Web Fonts (loaded via JS)
Self-hosted Web Fonts (loaded via CSS)
Vue.js Component
*
React Component
*
Ember Component
*
Angular Component
*
SVG Sprites
SVG Unicodes
Bare SVGs
* This JS component doesn't support Auto-Subsetting but does support tree-shaking through the use of build tools. It's similar to Auto-Subsetting.
Subset By Style
With Subsetting by Style, you can pick which styles you want included in your Kit and you'll have easy access to all the icons for that style but none of the weight of the styles you aren't using.
To subset by style, go to your Kit's Settings tab and select "Auto-Subsetting" under Subset and then pick your styles under "Styles".
Subsetting by Style in Your Kit's Settings
Hold on to your butts!
Our SVG+JS auto-subsetting method is already most efficient when loading all styles so you don't need to limit your styles when using that tech.
Custom Subsetting: Subset By Icon
If you know exactly which icons you want to include, you can create a Kit using Custom Subsetting by Icon. Custom subsetting is great if you want full control to slim things down as much as possible and don't mind coming back to edit your subset when you want to add icons.
Before custom subsetting a Kit, there are a few things to know:
When you first enable Custom Subsetting, your Kit will only include your uploaded icons until you pick some icons from the Font Awesome styles.
We don't recommend switching to Custom Subsetting when using a hosted Kit on a production site because it will stop serving icons until you pick some. For a seamless transition, create a new Kit, select the icons for your subset, and then swap the Kit embed code on your production site.
Custom subsetting is only available on Kits set to Pro Icons AND Version 6.4+.
Set Your Kit to Custom Subsetting
If custom subsetting is right for your project, head to the Settings page for your Kit and select "Custom Subsetting" under Subset. You also have the option to turn off some of the styles under "Styles" but you don't need to do that.
Custom Subsetting by Icon in Your Kit's Settings
Mind the Gap!
Your Kit will only include your custom icons until you pick icons in the next step.
Pick Some Icons
Go to the Icons tab for your Kit and click on the Style you want to select icons from.
A Kit Ready to Subset
When you click on a Style, a modal window will open to search or browse for the icons you want to include. When you find one, click to add it to your subset. You can see the icons you have selected in the "Selected Icons" tab. Don't forget to save when you're done!
Repeat for each style you want to select icons to include.
Select icons from the Classic Regular style for your subset
Viewing the icons in your subset for the Classic Regular style
Using a Subsetted Kit
Once you have picked the styles or icons you want to include in your Kit, you can use it in any of the ways you usually would use a regular Kit to get icons into your project.
Use in Web-based Projects
Embed Code: Use the JS (or CSS) Kit embed code that you'll find on your Kit's Set Up tab just like a regular Kit.
When you're self-hosting a SVG+JS subsetted kit with Sharp icons, all the icons and utilities for Classic AND Sharp will be included in the all.js file - you don't need to add any sharp- files. (This is different from the way you would use the regular Font Awesome download which needs both all.js and any sharp- style files.)
The Desktop Subsetter is sunsetted and has been replaced with Kit Subsetting. (You can easily switch over if you want.) The Desktop Subsetter will no longer be updated but will receive essential bug fixes. Instructions below are for previously released versions.
Grab the Font Awesome 6 Subsetter from the Download page and install it on your Mac or Windows machine. Open up the app and sign in to your Font Awesome account.
When you open the Subsetter, it lists all the available icons grouped by style. (The Subsetter only contains the icons for the version of the Subsetter that you are using. You can find your version number in the lower right corner of the app.)
Search the icons by name, filter by style, or scroll to browse. Once you find an icon you want, click to add it to your subset. Change your mind? Click the icon again to remove it, or you can click to remove it in the subset sidebar.
Pro Tip: Save your project YAML file!
The project YAML file created when you save will store all the icons you have selected so you can load it back up to add, edit, and rebuild the subset in the future. This YAML file is also used to import your subset into a Kit when you're ready to switch.
Once you have the set of icons you want included in your subset, click the "Build Subset" button on the bottom right. The Subsetter will connect to the Font Awesome API to build and package up all the icons and other files you'll need to use your subset. After a few seconds, you will be prompted to name the subset and select where to save the Zip file of packaged assets.
Switch from the Desktop Subsetter to Kit Custom Subsetting
If you've been in the subsetting game for more than a minute, you've probably been building your Font Awesome subsets with the Desktop Subsetter. But there's a lot of reasons to switch to using a Kit-based Custom Subset instead, like:
Instant Updates to Icons and Features: As soon as a new version of Font Awesome is released, you can upgrade your subset - no waiting for the app to be updated.
Add Your Own Custom Icons: With a Kit, you can upload your own custom icons and we'll bundle them into your subset to be used just like regular Font Awesome icons.
Let Us Do the Hosting: You can still download your subset to host yourself, but you also have the option to let us host it for you.
With a Kit-based Custom Subset, you can use it in any of these ways:
Download for the Web and Host Yourself as Web Fonts+CSS, SVG+JS, SCSS, Less, and more
Embed using one line of Javascript in your project's HTML
Embed using one line of CSS in your project's HTML
Download for Desktop and use at OTFs or SVGs in Desktop apps
How to Import Your Desktop Subsetter YAML to Create a Kit Custom Subset
To start importing your existing subset from the Desktop Subsetter to a Kit, open your subset in the Desktop Subsetter and save the subset. (It will be saved as a .yaml or yml file.)
Saving your subset .yaml file in the Desktop Subsetter on a Mac
Under "Upgrade to a Kit-based Custom Subset", click the link to "Import your subset .yaml file" and select the file you saved from the Desktop Subsetter.
Click the "Import + Create Kit" button and we'll import the icons, create the Kit Custom Subset for you, and bring you to your new Kit. (Note that your Kit will be set to the current version of Font Awesome.)
From your new Kit, you'll be able manage your subset: Upload custom icons, add or remove icons from your subset, and download your subset to host yourself.
If any icons have been renamed, the old names will still work (through the magic of aliases!), but you'll see the new name in your subset. And if any icons were removed from Font Awesome (it's pretty rare), we'll let you know.