Font Awesome 5 for Magento2.
-
Get the sources
cd <magento_root> composer require swissup/font-awesome-5 bin/magento module:enable Swissup_Core Swissup_FontAwesome5 bin/magento setup:upgrade
-
Enable it for the stores you need at Stores > Configuration > Swissup > FontAwesome 5.
If you are a happy FontAwesome Pro version user, you can enable CDN Pro feature as well.
-
Search for icon you need at official FontAwesome site
-
Copy and Paste selected code into HTML content.
Example:
<i class="fas fa-bicycle"></i> <i class="fab fa-magento"></i>
-
That's all!
Looking for advanced usage examples? Here you go: