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 details)

Uploaded Source

Built Distribution

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

wagtail_heroicons-0.1.1-py3-none-any.whl (225.7 kB view details)

Uploaded Python 3

File details

Details for the file wagtail_heroicons-0.1.1.tar.gz.

File metadata

  • Download URL: wagtail_heroicons-0.1.1.tar.gz
  • Upload date:
  • Size: 45.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for wagtail_heroicons-0.1.1.tar.gz
Algorithm Hash digest
SHA256 192aee38f60506fc052c1cb1649f3ec83a90efc13d75dd898cc89b6334196eae
MD5 f6b8b34353ee914277eb52158bb762d6
BLAKE2b-256 82878e73bdc53ab9788b1e72334abd485f85f3cae304f523819b13b796df7e71

See more details on using hashes here.

File details

Details for the file wagtail_heroicons-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for wagtail_heroicons-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c501869b3898e5fec4777e81312ecfd3e0f1145a865c702d8b2f5f89e1079a4
MD5 6f8da8ac21f0e21963cdcdf388d11ccf
BLAKE2b-256 4a1b469d626bb98d2c1c0bb0f82424cf685deabf2cd802522f95ca16b2c1792d

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