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 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.4.tar.gz
(531.0 kB
view hashes)
Built Distribution
Close
Hashes for wagtail-font-awesome-svg-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71ce34575f789c49c517ae70f031508bf97381025acee1a821395ae212d58e9e |
|
MD5 | c93bd6552f58c0e3fc5019d116c1e4e1 |
|
BLAKE2b-256 | 7863d67ad7e9535dc538e20cb27f85fe1fa9537762c611dd7302a2b2d8ab1622 |
Close
Hashes for wagtail_font_awesome_svg-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2867f0b8af0109e8cab3347c83e6fed68451d9fa0e707c70cebfb49d653dc0d |
|
MD5 | e043082ef44787b3dacbf3bef8e72265 |
|
BLAKE2b-256 | 8ce76f51441aa82d8330fbef855da343f3a46524bd1eab818c1dd2f9dc18eb89 |