Skip to main content

Free package for HugeIcons

Check out all 36,000+ hand drawn icons by visiting the HugeIcons website @ https://hugeicons.com/

Installation

Make sure you have Django installed pip install Django

After you have installed Django you can install the icon package

pip install django-hugeicons-stroke

Add to your installed apps

Add django_hugeicons_stroke under your installed_apps variable in your settings.py file.

INSTALLED_APPS = [
	...
	"django_hugeicons_stroke"
]

Load the template tag per file or globally

If you want to load the icon tag in certain html files just use the following

{% load hugeicons_stroke %}

or load globally by adding to your built-ins in your TEMPLATES variable in your settings.py file.

TEMPLATES = [
    {
		...
        'OPTIONS': {
			...
			'builtins': [
				'django_hugeicons_stroke.templatetags hugeicons_stroke',
            ]
        },
    },
]

Run your server

You're setup and ready to use HugeIcons!

Using the template tag

{% hgi_stroke name="" size="24" color="#000000" stroke_width="2" %}

Parameters

Name Default Value Description
Name Empty String Name of icon you want to get
Size 24 The overall size of the icon width and height
Color #000000 Color text or HEX Code to color the icon
Stroke Width 2 The thickness of the icon

Metadata

Release files for django-hugeicons-stroke 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-hugeicons-stroke 1.1.2
File Size Uploaded
django_hugeicons_stroke-1.1.2.tar.gz 1.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-hugeicons-stroke 1.1.2
File Interpreter ABI Platform
django_hugeicons_stroke-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 2.5 MB

Release files / django_hugeicons_stroke-1.1.2.tar.gz

Download URL django_hugeicons_stroke-1.1.2.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
af59be539a554599aece45652c4eb27af4bf4b5aead6688c6f15aeb0ceaf0276
BLAKE2b-256 checksum
How to use checksums
9ae063dd6b9c2c1ed1595f098aa7aafd4a1e4161030ebb10718cb46f0781119b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.0

Release files / django_hugeicons_stroke-1.1.2-py3-none-any.whl

Download URL django_hugeicons_stroke-1.1.2-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5831a1fbe6e931c2feedb8f89ea66670dd37bdba78f5a171743130e82c9d54be
BLAKE2b-256 checksum
How to use checksums
0bcac0a3e2088218816e8645f13e9833404e953d51389b21603f7b175db984ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.0

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page