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.3.tar.gz (522.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wagtail-font-awesome-svg-0.0.3.tar.gz
  • Upload date:
  • Size: 522.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.9

File hashes

Hashes for wagtail-font-awesome-svg-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b5cf80366dcaa272b91c9d7a3686aec44c583c3a69eb416e0391e2a0b7479466
MD5 452ec376dc07fb946dedf2359fc790a6
BLAKE2b-256 a1d71173b4602aeebb845077f03abceaec966b8d8ae8f2b43e44508d9f7723c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wagtail_font_awesome_svg-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0d59e37d17486aa2228361ea40fc99c7224372f34054216f67b93abe487a8c7d
MD5 1249914a85673b73be4f5e251ada1743
BLAKE2b-256 cd61e8b57b31f23dc95e2cf093fe525b5944526b0630de538242e239ad12e74e

See more details on using hashes here.

Supported by

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