An interface to Font-Awesome for use in Shiny for Python.
This package currently uses Font-Awesome 6.2.0.
pip install faicons
Use icon_svg()
to get an <svg>
representation of the icon.
from faicons import icon_svg
icon_svg("play")
Example usage in Shiny:
from shiny import ui
ui.input_action_button("btn", "Press me", icon=icon_svg("play")).show()