Skip to content

3j14/django-feather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Feather

A simple Tag ({% icon "name" %}) to implement Feather Icons in Django.

Install

Install django-feather using pip and put it into your INSTALLED_APPS:

# settings.py
INSTALLED_APPS = [
    # ...
    'django-feather',
    # ...
]

Usage

After installation, the tag can be used just like any other tag:

{% load icon %}

{% icon "coffee" class="css-class" height="8" width="8" %}

The icon tag will simply read the SVG files from the Feather project, apply additional attributes and return the SVG tag.

License

Feather is licensed under the MIT License.

django-feather is licensed under the Apache License, Version 2.0:

Copyright 2019 Jonas Drotleff <[email protected]>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

🏷️ A simple Tag to implement Feather Icons in Django

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages