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.35.0.20250916.tar.gz (330.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.35.0.20250916-py3-none-any.whl (336.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for flask_tabler_icons-3.35.0.20250916.tar.gz
Algorithm Hash digest
SHA256 929b4874718f47514bb75cc97f222592fdb0f4ce35f9b7baaa572756bfb2c527
MD5 ed1031a04792cb5cac4aec8dcb94bab4
BLAKE2b-256 3983e52d54b2d85f4a218bc4b9bdd91eb7b55479b50c1a29aa6150ad7efe5749

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flask_tabler_icons-3.35.0.20250916-py3-none-any.whl
Algorithm Hash digest
SHA256 1c1196aef0cc1db42b8d847fed239393b7e44a71432cf99282fad50d1028c6a7
MD5 df41d5597d57cf520e00bfbd37cdeec3
BLAKE2b-256 c5638ecbd7e11e7d2b678389b18fa83f1862f698565173736adab250ae36f0aa

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