Add Heroicons to the Wagtail admin.
- Python 3.10, 3.11, 3.12, 3.13, 3.14
- Django 4.2, 5.1, 6.0
- Wagtail 6.3, 7.0, 7.1, 7.2
-
Install the package from PyPI:
python -m pip install wagtail-heroicons
-
Add the app to your Django project's
INSTALLED_APPS:INSTALLED_APPS = [ ..., "wagtail_heroicons", ..., ]
All icons follow the following naming convention: heroicons-<name>-<style>.
For example, the solid Adjustments icon would be heroicons-adjustments-solid.
To see all available icons, names and styles, visit the Heroicons website.
See the Wagtail documentation for more information on using icons in Wagtail.
This project uses uv for dependency management.
Install dependencies:
uv sync --locked
# Or:
just bootstrapRun tests:
just testUpdate dependencies:
uv lock --upgradewagtail-heroicons is licensed under the MIT license. See the LICENSE file for more information.
Heroicons are licensed under the MIT License and are Copyright (c) 2020 Refactoring UI Inc.