swissup/module-font-awesome-5

FontAwesome5 for Magento2

Installs: 12 689

Dependents: 1

Suggesters: 0

Security: 0

Stars: 9

Watchers: 9

Forks: 5

Open Issues: 0

Language:SCSS

Type:magento2-module

1.2.0 2022-05-03 14:55 UTC

This package is auto-updated.

Last update: 2024-10-30 01:42:41 UTC


README

Font Awesome 5 for Magento2.

Contents

  1. Installation
  2. Usage
  3. Advanced Usage

Installation

  1. Get the sources

    cd <magento_root>
    composer require swissup/font-awesome-5
    bin/magento module:enable Swissup_Core Swissup_FontAwesome5
    bin/magento setup:upgrade
  2. 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

  1. Search for icon you need at official FontAwesome site

  2. Copy and Paste selected code into HTML content.

    Example:

    <i class="fas fa-bicycle"></i>
    <i class="fab fa-magento"></i>
  3. That's all!

Advanced Usage

Looking for advanced usage examples? Here you go: