Font Awesome for Shiny

September 30, 2022 ยท View on GitHub

An interface to Font-Awesome for use in Shiny for Python.

This package currently uses Font-Awesome 6.2.0.

Installation

pip install faicons

Usage

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()