Beautiful icons for your Dash apps.
Made by Ploomber with ❤️
Deploy your Dash application on Ploomber.io for free.
tabler-icons.mp4
Live demo: dash-tabler-icons.ploomberapp.io
pip install dash-tabler-icons
import dash_tabler_icons as dti
from dash import html
icon = dti.DashTablerIcons(
icon=dti.IconName.IconStar,
size=48,
color="#4B5563",
stroke=1,
)
# Sample usage in a button
button = html.Button(
icon,
id="button-with-icon",
)
cd demo
pip install -r requirements.txt
python app.py
Open: http://localhost:8050
npm install
pip install -r requirements.txt
pip install -r tests/requirements.txt
npm run build
python demo.py
The icon enum is auto-generated:
python generate-constants.py
# generate
npm run build
python setup.py sdist bdist_wheel
ls dist
# test artifact
pip install dash dist/dash_tabler_icons-0.0.1.tar.gz
python demo/app.py
# upload
pip install twine
twine upload dist/*
# clean up
rm -rf dist