Skip to main content

django-svg-sprite

A Django template tag for easy use of SVG sprites in templates.

Quick start

  1. Add django_svg_sprite to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...,
        'django_svg_sprite',
    ]
    
  2. Set the SVG_SPRITE setting to the SVG sprite file in your static files to be used, e.g.:

    SVG_SPRITE = 'bootstrap-icons.svg'
    
  3. 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)

Source distribution for django-svg-sprite 2026.8.1
File Size Uploaded
django_svg_sprite-2026.8.1.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-svg-sprite 2026.8.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

2026.8.1 This release

2 release files

0.2.0

2 release files

0.1.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