Skip to main content

Add Heroicons to your Wagtail site

Project description

Wagtail Heroicons

PyPI GitHub Workflow Status

Add Heroicons to the Wagtail admin.

Note: SVG icons within the Wagtail admin are a relatively new feature in Wagtail, and the hook used within this package is not publically documented. As such, the API provided by Wagtail may change and cause breakage within this package. See Issue #6107 and PR #6028 in the Wagtail repository for more information.

Installation

Install the package using pip:

pip install wagtail-heroicons

Add wagtail_heroicons to your INSTALLED_APPS setting in your settings.py file:

INSTALLED_APPS = [
    ...
    'wagtail_heroicons',
]

Usage

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.

License

This package is licensed under the MIT License. See the LICENSE file for details.

Heroicons are licensed under the MIT License and are Copyright (c) 2020 Refactoring UI Inc.

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_heroicons-0.1.1.tar.gz (45.4 kB view hashes)

Uploaded Source

Built Distribution

wagtail_heroicons-0.1.1-py3-none-any.whl (225.7 kB 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