django-svg-sprite
A Django template tag for easy use of SVG sprites in templates.
Quick start
-
Add
django_svg_spriteto yourINSTALLED_APPSsetting like this:INSTALLED_APPS = [ ..., 'django_svg_sprite', ]
-
Set the
SVG_SPRITEsetting to the SVG sprite file in your static files to be used, e.g.:SVG_SPRITE = 'bootstrap-icons.svg'
-
Use the tag in your template, e.g.:
{% load svg_sprite %} {% svg_sprite 'hand-thumbs-up' fill='yellow' class='bi' %}
See settings and template tags documentation for details.
Commercial support
Commercial support, including feature development, is available. Get in contact.
License
This project is licensed under the MIT license.
Release files for django-svg-sprite 2026.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_svg_sprite-2026.8.1.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_svg_sprite-2026.8.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / django_svg_sprite-2026.8.1.tar.gz
| Download URL | django_svg_sprite-2026.8.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1eaf95b8b1969d1e2f3424119c46c3efee2e86494903a05a40186b032fa93e9b
|
|
BLAKE2b-256 checksum How to use checksums |
7197de6e13997463a691104dc907d4e6d74b324220c63247e063d01580775d2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.6 Windows/11
|
Release files / django_svg_sprite-2026.8.1-py3-none-any.whl
| Download URL | django_svg_sprite-2026.8.1-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
880f165ac3d610b8b4674ef8ee2a43497617fede40f314898ac8a54c8378baeb
|
|
BLAKE2b-256 checksum How to use checksums |
b893877e1fcd7486eaeff7d2a73def1a8eddca501a7832950fa5d3045dee46ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.6 Windows/11
|