Skip to main content

Custom components for Plotly Dash

Project description

dash-holoniq-components

A set of house-keeping components for Dash that make the implementation of forms and larger, multi-page applications a little easier.

The following components are available:

Alert The Alert component is hidden if it has no children. When children are injected the Alert component sets its style to become visible

ButtonLink Allows you to create a clickable link within a multi-page app in the same way as dcc.Link. The standard dcc.Button attributes n_clicks and n_clicks_timestamp have been added to ButtonLink. These attributes can be used for notification that the ButtonLink has been clicked. ButtonLink can be enabled/disabled allowing conditional control of the link via a Dash callback

Form The Form components normal submit action can be inhibited. The form data, as it would be reported by the a submit action, is available in a Dash callback via the components form_data attribute.

InputWithIcon Adds a font awesome glyph and tooltip to the end of a standard input box

LayoutRouter The children of LayoutRouter are each wrapped in a Div that is is hidden/shown based on the current value of the LayoutRouter 'switch' attribute.

The advantage of LayoutRouter over the standard approach to dynamic layout is that ALL the applications layout is rendered, but hidden, when the Dash application starts. LayoutRouter overcomes the problem with the standard approach were callbacks linked to dynamic content are difficult to realise.

PageTitle Sets the page title:

PasswordWithShow Password input with a show/hide icon that can be clicked to reveal the password

Location A modified version of dash-core-components Location component. Allows multiple instances to co-exist. In the dash-core-components version the last instance is the only one to get history event notifications.

Installation

PyPI

You can install dash-holoniq-components with pip:

pip install dash-holoniq-components

Documentation

Head over to the README for more details.

Contributing

The source code for dash-bootstrap-components is available on GitHub. If you find a bug or something is unclear, we encourage you to raise an issue. We also welcome contributions, to contribute, fork the repository and open a pull request.

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_holoniq_components-0.0.18.tar.gz (610.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dash_holoniq_components-0.0.18-py3-none-any.whl (624.0 kB view details)

Uploaded Python 3

File details

Details for the file dash_holoniq_components-0.0.18.tar.gz.

File metadata

  • Download URL: dash_holoniq_components-0.0.18.tar.gz
  • Upload date:
  • Size: 610.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for dash_holoniq_components-0.0.18.tar.gz
Algorithm Hash digest
SHA256 f2fe255069994a6ce61b478384bf3ad9785a42934d3eec57d0e07f7f514fa1cf
MD5 25bb3d1a44b93bbe20e518c8c7b01d39
BLAKE2b-256 9f264d379f705c582d417105286ddeeefbe298f2b06ffc96e356bf47bcd72c81

See more details on using hashes here.

File details

Details for the file dash_holoniq_components-0.0.18-py3-none-any.whl.

File metadata

  • Download URL: dash_holoniq_components-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 624.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for dash_holoniq_components-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 28acab96a01f9df54f9aa80c811fda90c48f466813b335d6648dd8c69b54648f
MD5 ab087b1f46eff12f5eecdbc3e457d83a
BLAKE2b-256 572cb16e9f1bbb2fe0298802d53caac0d9f7b4c8b79f2bfbdad1eb45245372c9

See more details on using hashes here.

Supported by

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