You can place Font Awesome icons just about anywhere, and we’ve tried to make it so that icons will take on the characteristics and blend in with surrounding text naturally.
We’ll cover the basics of how to add icons to your project, shorthand class names for different icon styles, how to add icons to HTML, using icons aliases, and more!
Basics
To add an icon, you need to know a few bits of information:
The shorthand class name for the style you want to use
The icon name, prefixed with fa- (meaning “Font Awesome” naturally!)
The shorthand class name for the family you want to use (Optional)
Families + Styles
There are four families of Font Awesome icons - each with a unique look, class name, and @font-face font-family. In Font Awesome Classic and Sharp, there are four styles of Font Awesome icons. Here are some examples:
We designed Font Awesome for use with inline elements, and we recommend that you stick with a consistent element in your project. We recommend using <i> element with the Font Awesome CSS classes for the style class for the style of icon you want to use and the icon name class with the fa- prefix for the icon you want to use. Accessibility-minded folks may want to opt for the <span> element instead of <i>.
Here’s an example:
Setting Different Families + Styles
And here’s an example that references different styles and families of icons:
Aliases
We’ve updated many of our icon names in Version 6 to make them more universal and consistent. But we wanted to make sure not to break your existing code, so we made aliases for renamed icons to allow them to work with either the old or new names.
And you can use the old or new name for styles as well. So you can still use fas, far, fal, fad, and fab. And we’ve also included older prefix versions for our new Thin style (fat) and new Sharp family of styles (Sharp Solid is fass while Sharp Regular is fasr).
Alternate Ways to Add Icons
We also have many other ways to add Font Awesome icons, in case your situation calls for something specific:
To arrange icons by name, type, date, or size, right-click a blank area on the desktop, and then click Arrange Icons. Click the command that indicates how you want to arrange the icons (by Name, by Type, and so on).
Select Insert > Icons. Don't see this feature? Icons are only available to Microsoft 365 subscribers on Windows, Android, or Windows Mobile. Select the icon you want, and then select Insert.
Right-click (or press and hold) the desktop, point to View, and then select Large icons, Medium icons, or Small icons. Tip: You can also use the scroll wheel on your mouse to resize desktop icons. On the desktop, press and hold Ctrl while you scroll the wheel to make icons larger or smaller.
Select the Start button, and then select Settings > Personalization > Themes. Under Themes > Related Settings, select Desktop icon settings. Choose the icons you would like to have on your desktop, then select Apply and OK. Note: If you are in tablet mode, you may not be able to see your desktop icons properly.
Right-click the Desktop, select View. Make sure Auto arrange icons is unchecked. Make sure Align icons to grid is unchecked as well. Reboot and see if the issue is resolved.
Graphics driver issues: Outdated or missing graphics drivers can cause icons to disappear or display incorrectly. Corrupted icon cache: The icon cache can become corrupted, leading to icons appearing distorted or not at all.
Step 1: Right-click on your desktop. Then, select View. Step 2: Ensure Show desktop icons is ticked. Note: If it isn't, click on it once to ensure it isn't causing issues displaying your desktop icons.
Introduction: My name is Geoffrey Lueilwitz, I am a zealous, encouraging, sparkling, enchanting, graceful, faithful, nice person who loves writing and wants to share my knowledge and understanding with you.
We notice you're using an ad blocker
Without advertising income, we can't keep making this site awesome for you.