Skip to main content

Font Awesome icons as SVG for Wagtail

Project description

Wagtail Font Awesome SVG

Add Font Awesome 5.14 SVG icons to your Wagtail project.

Note: Wagtail does not officially support SVG icons yet, but is working towards it. See Wagtail issue #6107 for progress.

Install

pip install wagtail-font-awesome-svg

Add wagtailfontawesomesvg to your installed apps.

INSTALLED_APPS = [
    'wagtailfontawesomesvg',
]

Usage

This is an overview of available icons. Choose an icon and add it via your wagtail_hooks.py:

from wagtail.core import hooks

@hooks.register("register_icons")
def register_icons(icons):
    return icons + [
        'wagtailfontawesomesvg/brands/facebook.svg',
        'wagtailfontawesomesvg/regular/laugh.svg',
        'wagtailfontawesomesvg/solid/yin-yang.svg',
        ...
    ]

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-font-awesome-svg-0.0.2.tar.gz (522.7 kB view details)

Uploaded Source

Built Distribution

wagtail_font_awesome_svg-0.0.2-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

Details for the file wagtail-font-awesome-svg-0.0.2.tar.gz.

File metadata

  • Download URL: wagtail-font-awesome-svg-0.0.2.tar.gz
  • Upload date:
  • Size: 522.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for wagtail-font-awesome-svg-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5b329c1c8ef78f118a57197fcbfe5cde78d58bcee27571a6d26584cd07553455
MD5 c6a9edddadd25561f59a901fed8ee8c1
BLAKE2b-256 92c94f6d034ad4ab3c84f2d7377e735984fd2b0935d0402f67e2234ee9c01fd4

See more details on using hashes here.

File details

Details for the file wagtail_font_awesome_svg-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: wagtail_font_awesome_svg-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for wagtail_font_awesome_svg-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cf57cc9be4d2f929f8b5af0b4e03a5ba1ae75d56984208afae2b345e5091988a
MD5 e70f12911ed4cc7132f768051d5d2d17
BLAKE2b-256 733ccb294ae7cd34bd7b9caaed5425ba776ec9452b04ebf1f1248ec2e0f555ed

See more details on using hashes here.

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