a collection of jinja macros for tabler icons
Project description
flask-tabler-icons
flask-tabler-icons is a collection of Jinja macros for tabler-icons and Flask.
Installation
pip install -U flask-tabler-icons
Example (check examples folder for details)
Register the extension:
from flask import Flask
from flask_tabler_icons import TablerIcons
app = Flask(__name__)
tabler_icons = TablerIcons(app)
{% from "tabler_icons/helper.html" import render_icon %}
<html>
<head>
<!-- css area -->
<style>
.custom-css {
color: red;
}
</style>
</head>
<body>
<h2>tabler icon</h2>
{{ render_icon("helicopter", class="custom-css") }}
{{ render_icon("helicopter", animation="pulse", color="blue") }}
{{ render_icon("helicopter", animation="tada", color="blue") }}
{{ render_icon("helicopter", animation="rotate", color="blue") }}
</body>
</html>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flask_tabler_icons-3.41.1.20260413.tar.gz.
File metadata
- Download URL: flask_tabler_icons-3.41.1.20260413.tar.gz
- Upload date:
- Size: 345.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e74d5c8bf33e30b5e19a4bb36a8b51e66f03392586b5331ad3e3c335eecad82
|
|
| MD5 |
8627575dd735cbb38ea8fd3a6f48bf21
|
|
| BLAKE2b-256 |
850197ae65e927f675c6f1ffadf7d9c7f5eb97407731990009a1f2d6f503be64
|
File details
Details for the file flask_tabler_icons-3.41.1.20260413-py3-none-any.whl.
File metadata
- Download URL: flask_tabler_icons-3.41.1.20260413-py3-none-any.whl
- Upload date:
- Size: 353.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
654c58891660ea9a75d0a5d722b3269efd76192ee2d4ce9835fead6c767601f0
|
|
| MD5 |
0192f7f617011d4e0c33ea890511db24
|
|
| BLAKE2b-256 |
650bf0aff417542bcad9ad77fa97a0588332cb916bf8c9d6e39ed2bc409e1ffd
|