Dash Iconify

0.1.2 · active · verified Thu Apr 16

Dash Iconify is a component library for Plotly Dash applications that integrates over 100,000 vector icons from the Iconify ecosystem. It dynamically fetches only the icons needed, offering an efficient way to enhance the visual appeal and user experience of Dash apps. The library is actively maintained with periodic updates.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to initialize a Dash app and incorporate multiple icons using the `DashIconify` component. Icons are specified using a string in the format `icon-prefix:icon-name`, and their size and color can be customized with `width` and `color` props.

import dash
from dash import html
from dash_iconify import DashIconify

app = dash.Dash(__name__)

app.layout = html.Div([
    html.H1("My Dash App with Icons"),
    DashIconify(icon="ion:logo-github", width=30, color="#181717"),
    DashIconify(icon="dashicons:align-wide", width=40, color="#0073AA"),
    DashIconify(icon="fa6-brands:python", width=50, color="#306998")
])

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

view raw JSON →