Skip to main content

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


Download files

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

Source Distribution

flask_tabler_icons-3.36.1.20260127.tar.gz (331.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flask_tabler_icons-3.36.1.20260127-py3-none-any.whl (337.7 kB view details)

Uploaded Python 3

File details

Details for the file flask_tabler_icons-3.36.1.20260127.tar.gz.

File metadata

File hashes

Hashes for flask_tabler_icons-3.36.1.20260127.tar.gz
Algorithm Hash digest
SHA256 8615806e3c7d854d85dae143f4fdca4cde72f1f2984abe6e64f47d2bdc75c96d
MD5 fb1c9516afd2fff2479873d0eb8d4ba9
BLAKE2b-256 b0475cb02aba1c1eec798103dfbb3a8979ce3790fbd24c496df679c1c8f5672f

See more details on using hashes here.

File details

Details for the file flask_tabler_icons-3.36.1.20260127-py3-none-any.whl.

File metadata

File hashes

Hashes for flask_tabler_icons-3.36.1.20260127-py3-none-any.whl
Algorithm Hash digest
SHA256 8918cb9e8acfa7dd1cc6f5f377938fbde4a2e26759fbd8684f88152309f3fb1e
MD5 d708becd5c15eb04bd7f85e2d7e0749f
BLAKE2b-256 81db466c6371f257d14e461cc2494be9e46cac187b75ccf24c2b4421a0c6bcf8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page