Dash Iconify
Dash Iconify based on Iconify is a Dash component library which brings over 100,000 vector icons.
Table of contents
Installation
pip install dash-iconify
Quickstart
from dash_iconify import DashIconify
from dash import Dash
app = Dash(__name__)
app.layout = DashIconify(
icon="ion:logo-github",
width=30,
height=30,
rotate=1,
flip="horizontal",
)
if __name__ == "__main__":
app.run_server(debug=True)
Using with dmc
Dash Mantine Components enables using icons natively.
import dash_mantine_components as dmc
from dash_iconify import DashIconify
button = dmc.Button("Send Mail", leftIcon=[
DashIconify(icon="fluent:folder-mail-16-filled")
])
Keyword Arguments
Visit this site to browse all the available icons: https://icon-sets.iconify.design/
Keyword arguments:
- id (string; optional):
The ID used to identify this component in Dash callbacks.
- color (string; optional):
Color.
- flip (a value equal to: "horizontal", "vertical"; optional):
Flip the icon horizontally or vertically.
- height (number; optional):
Icon height.
- icon (string; optional):
Icon name is a string, which has 3 parts: @api-provider : icon-prefix : icon-name
provider points to API source. Starts with "@", can be empty (empty value is used for public Iconify API).
prefix is name of icon set.
name is name of icon.
- inline (boolean; optional):
Toggles inline or block mode.
- rotate (a value equal to: 0, 1, 2, 3; optional):
Rotates icon, 0: 0 deg, 1: 90 deg, 2: 180 deg, 3: 270 deg.
- style (dict; optional):
Inline style.
- width (number; optional):
Icon width.
Metadata
Release files for dash-iconify 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dash_iconify-0.1.2.tar.gz | 17.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dash_iconify-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.3 kB
Release files / dash_iconify-0.1.2.tar.gz
| Download URL | dash_iconify-0.1.2.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
564774be6b11b0ac3a8999b7137c3d17a1d351d69b673aa313c7228eacc9d143
|
|
BLAKE2b-256 checksum How to use checksums |
49d203483ed3278cd476c34064bec43675fb6da84a6908e995a699eed76ab32d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Release files / dash_iconify-0.1.2-py3-none-any.whl
| Download URL | dash_iconify-0.1.2-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ab0eda19bb4514e177bf1f8f36947bb9e5b44aba6ce947f22a1cf0f1a45fc14
|
|
BLAKE2b-256 checksum How to use checksums |
d263f10cc18533cc9ab899ea81deca9759b3eebe47d01ad95c4e67b6acdada97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|