Skip to content

pyapp-kit/fonticon-fontawesome6

Repository files navigation

fonticon-fontawesome6

License PyPI Python Version

FontAwesome 6 extension for superqt font icons

pip install superqt fonticon-fontawesome6
from fonticon_fa6 import FA6S
from qtpy.QtCore import QSize
from qtpy.QtWidgets import QApplication, QPushButton
from superqt.fonticon import icon, pulse

app = QApplication([])

btn2 = QPushButton()
btn2.setIcon(icon(FA6S.spinner, animation=pulse(btn2)))
btn2.setIconSize(QSize(225, 225))
btn2.show()

app.exec_()

Dev note

To update this package for new fonticon releases, update the VERSION = ... string in scripts/bundle.py, and rerun python scripts/bundle.py.