Skip to main content

Django-infinite-icons will help you to render SVG icons.

Project description

Build Status

Django-infinite-icons will help you to render SVG icons in your template & you can alter its width ,height and viewport without hassle.

This project is inspired by FeatherIcons and the author colebmis.

Installation

you can get django-infinite-icons by using pip.

$ pip install django-infinite-icons

To enable widget_tweaks in your project you need to add it to INSTALLED_APPS in your projects settings.py file:

INSTALLED_APPS = [
    ...
    'django_infinite_icons',
    ...
]

Example Usage for SVG render

{% load infinite %}

{% icon_render 'activity.svg' width='45' %}
{% icon_render 'activity.svg' height='45' width='45' %}
{% icon_render 'activity.svg' height='45' width='45' viewbox='0 0 20 20' %}

Example Usage load as static file

{% load infinite %}

{% icon_render 'activity.svg' %}

License

MIT

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-infinite-icons, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_infinite_icons-0.1-py3-none-any.whl (136.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page