Skip to main content

dash-fluentui-components

A component library for Plotly's Dash based on the fluentui react components.

Installation

poetry add dash-fluentui-components

or via pip

pip install dash-fluentui-components

Usage

from dash import Dash, Input, Output, callback, callback_context
from dash.exceptions import PreventUpdate

import dash_fluentui_components as dfc

app = Dash(__name__)

open_dialog = dfc.Button("OpenDialog", id="open-id")
close_dialog = dfc.Button("CloseDialog", id="close-id")
dialog = dfc.Dialog(
    "Content",
    title="A dialog component",
    trigger=open_dialog,
    trigger_action=close_dialog,
)

page1 = dfc.Page(dfc.Button("Button 1"), page_key="page-1", controls=dialog)
page2 = dfc.Page(dfc.Button("Button 2"), page_key="page-2", controls=dfc.Button("Control 2"))

app.layout = dfc.FluentProvider(theme="dark", children=dfc.PagesWithSidebar([page1, page2], selected_key="page-1"))

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

TODO

Metadata

Release files for dash-fluentui-components 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dash-fluentui-components 0.1.0
File Size Uploaded
dash_fluentui_components-0.1.0.tar.gz 2.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for dash-fluentui-components 0.1.0
File Interpreter ABI Platform
dash_fluentui_components-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.7 MB

Release files / dash_fluentui_components-0.1.0.tar.gz

Download URL dash_fluentui_components-0.1.0.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
9a359e22cf7a4d055d70b3989312a826593b7b2d0c69cbef842cd9083468763b
BLAKE2b-256 checksum
How to use checksums
00f1a867d7fc27be76bc927e0b0b62e618c7f02f6ee60f7d8b898d17261ca8a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / dash_fluentui_components-0.1.0-py3-none-any.whl

Download URL dash_fluentui_components-0.1.0-py3-none-any.whl
Size 2.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6e68bd1a3429ee86a92e716383da61a9e4533f07a1307f4daf45e1a89d89f438
BLAKE2b-256 checksum
How to use checksums
189c8d0e95736c38857b6fac55d3a7593d5c087a3b6e2546bc80de5a03bf2d6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.9

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page