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.40.0.20260310.tar.gz (340.0 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.40.0.20260310-py3-none-any.whl (346.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for flask_tabler_icons-3.40.0.20260310.tar.gz
Algorithm Hash digest
SHA256 85f75c38786f7e0d3511b9e6ec9b4de9c639ed96bf1acfda0f1c2c0ce21538a5
MD5 92496b522186e946eb7e9fc42ae81146
BLAKE2b-256 e4f2dcdf37d0b6b2463cc5fe24ec29b98f8b3640c00ef77d6047750ac99a6733

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flask_tabler_icons-3.40.0.20260310-py3-none-any.whl
Algorithm Hash digest
SHA256 af61d00843a3201a0dfd3b17c52548bba21ef99b9baa7a71191311580914820d
MD5 6ccc2488383c27c2bdaabb37c303ded8
BLAKE2b-256 c10b99eb60778e75f091960f4a2feb1b1889d5c58cc69e2de4b05d06ff521856

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