An interface to Font-Awesome for use in Shiny.
Project description
Font Awesome for Shiny
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
faicons-0.2.2.tar.gz
(604.4 kB
view details)
Built Distribution
faicons-0.2.2-py3-none-any.whl
(607.2 kB
view details)
File details
Details for the file faicons-0.2.2.tar.gz
.
File metadata
- Download URL: faicons-0.2.2.tar.gz
- Upload date:
- Size: 604.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b7d7b19180179b6b83783f91bf6c9311c0f00ae0f97d41be1d24d9942361659 |
|
MD5 | b1e315e1a681090ac79ff1995ecfc3c7 |
|
BLAKE2b-256 | 06e8c12ef85c4444616ab1c1e96d5ecbadc8046d40b34797308846a2cfc06c80 |
File details
Details for the file faicons-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: faicons-0.2.2-py3-none-any.whl
- Upload date:
- Size: 607.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d45d7c2635b53582a3375c67d7e975a28a91d2c16ef5f6b5033b5cdd507224b6 |
|
MD5 | e6fd2327ffb99486045b4878fa1a0595 |
|
BLAKE2b-256 | 653c1db1b0f878319bb227f35a0fca7cad64e1f528b518bcab1a708da305c86d |