Skip to main content

Iconify for Plotly Dash

Project description

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=512,
    height=512,
    rotate=1,
    flip="horizontal",
)

if __name__ == "__main__":
    app.run_server(debug=True)

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dash_iconify-0.0.1.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

dash_iconify-0.0.1-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file dash_iconify-0.0.1.tar.gz.

File metadata

  • Download URL: dash_iconify-0.0.1.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for dash_iconify-0.0.1.tar.gz
Algorithm Hash digest
SHA256 526373b67affbac63f08b5b922c0ed0fcf80cd3ee8fcf3d4b680b149191650eb
MD5 4a7b4278a91bdaabdb827fdaf3e7eefe
BLAKE2b-256 3d5c5065ab323da51f50e0506a7968f850ce74e5725e8c0983a4aaeee972f492

See more details on using hashes here.

File details

Details for the file dash_iconify-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: dash_iconify-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for dash_iconify-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 49d380589c9829b1bdb83b35cb52ce5b6038a005b05f708a21b78ee485c3c52c
MD5 95bbb424f0bdae63d461b18da957beca
BLAKE2b-256 eca24116ca227c926191b3ad30fdf0e9eb58b5c101893144e1ac442ed61e8875

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page