Skip to main content

A collection of pre-assembled, high-level Dash UI components built on Dash Mantine Components for simulation web applications.

Project description

PyAnsys PyPI Python Apache 2.0

Overview

Super Components for Dash is a collection of pre-assembled, high-level UI components built on top of the Dash Mantine Components (DMC) library. The components implement common patterns in simulation web app UIs, reducing frontend development effort by packaging UI logic and layout conventions into smart building blocks.

Dash is a trademark of Plotly Technologies Inc. This project is not affiliated with, endorsed by, or sponsored by Plotly Technologies Inc.

Documentation and issues

For full documentation, including the getting started guide, user guide, and API reference, see the Super Components for Dash documentation. In the upper right corner of the documentation’s title bar, there is an option for switching from viewing the documentation for the latest stable release to viewing the documentation for the development version or previously released versions.

On the Super Components for Dash Issues page, you can create issues to report bugs and request new features.

Installation

The ansys-solutions-dash-super-components package supports Python 3.10 through 3.14 on Windows and Linux.

Install the latest release from PyPI with:

pip install ansys-solutions-dash-super-components

Quick start

The following minimal example shows how to add the DualInputRangeSlider component to a Dash application:

import dash_mantine_components as dmc
from dash import _dash_renderer
from dash_extensions.enrich import DashProxy, html
from ansys.solutions.dash_super_components import DualInputRangeSlider

# Required for Dash 2.x
_dash_renderer._set_react_version("18.2.0")

app = DashProxy(__name__)

app.layout = dmc.MantineProvider(
    children=[
        html.Div(
            [
                DualInputRangeSlider(
                    aio_id="example-slider",
                    min=0,
                    max=100,
                    value=[20, 80],
                )
            ],
            style={"padding": "40px"},
        )
    ]
)

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

Run the example with python app.py and open http://127.0.0.1:8050 in your browser.

For detailed instructions on how to get started with Super Components for Dash, see the getting started guide in the documentation.

For more complex examples, see the showcase application in the repository.

Contributing

Contributions are welcome! See the contributing guide for developer installation instructions and guidelines on how to contribute code, documentation, and examples to this project.

License

This project is licensed under the Apache 2.0 License. For more information, see the LICENSE file.

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

Built Distribution

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

File details

Details for the file ansys_solutions_dash_super_components-0.2.dev8.tar.gz.

File metadata

File hashes

Hashes for ansys_solutions_dash_super_components-0.2.dev8.tar.gz
Algorithm Hash digest
SHA256 4d976f888aa0dca5af2c51cb27a562520be1a395d822d4b43e559070527c085b
MD5 e4281669574268181f5f205ce91a7458
BLAKE2b-256 111c91aab786b0f4c993f22d7f5d62592e0069b7a45a03f56948652960fb5c0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ansys_solutions_dash_super_components-0.2.dev8.tar.gz:

Publisher: ci_cd_release.yml on ansys/super-components-for-dash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ansys_solutions_dash_super_components-0.2.dev8-py3-none-any.whl.

File metadata

File hashes

Hashes for ansys_solutions_dash_super_components-0.2.dev8-py3-none-any.whl
Algorithm Hash digest
SHA256 af05f7327b0413acfda66757e4e3d09a0f8b22709b02f767d934631784cfbfc1
MD5 b09aa4177e0d15d838eb52e16b0083fc
BLAKE2b-256 98fbea0b2506e00f340dc51f94cee301b40e35cf00367ddad385c4508fdef4fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for ansys_solutions_dash_super_components-0.2.dev8-py3-none-any.whl:

Publisher: ci_cd_release.yml on ansys/super-components-for-dash

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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