Module Font Awesome 5
swissup/module-font-awesome-5
Adds Font Awesome 5 icons to Magento 2. Enables easy insertion of icons into HTML content via copy and paste.
Build Tests
Code Quality
Tested on Magento 2.4.8-p3
Recent Test History
Each release is tested against the latest Magento version at that time.
Share This Module's Status
README
Loaded from GitHubFont Awesome 5
Font Awesome 5 for Magento2.
Contents
Installation
-
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.
Usage
-
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!
Advanced Usage
Looking for advanced usage examples? Here you go:
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.