Skip to main content

Font Awesome SVG icons for Wagtail

Project description

Wagtail FA SVG

Python Wagtail License

Font Awesome SVG icons for Wagtail.

Installation

To install, run the following command:

poetry add wagtail-fa-svg

[!TIP] Make sure you're using the latest version to access the latest Font Awesome icons.

Usage

Add wagtail_fa_svg to your installed apps:

INSTALLED_APPS = [
    "wagtail_fa_svg",
]

Create a hook in your wagtail_hooks.py file to register icons:

from wagtail import hooks

@hooks.register("register_icons")
def register_icons(icons):
    return icons + [
        "wagtail-fa-svg/v6/brands/github.svg",
        "wagtail-fa-svg/v6/regular/pilcrow.svg",
        "wagtail-fa-svg/v5/solid/columns.svg",
    ]

[!NOTE] Both Font Awesome 5 and 6 icons are supported.

License

This project is licensed under the MIT License - see the LICENSE file for details.

The Font Awesome icons and related files are licensed under the Font Awesome Free License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail_fa_svg-1.1.0.tar.gz (1.1 MB view hashes)

Uploaded Source

Built Distribution

wagtail_fa_svg-1.1.0-py3-none-any.whl (2.8 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page