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.dev7.tar.gz.

File metadata

File hashes

Hashes for ansys_solutions_dash_super_components-0.2.dev7.tar.gz
Algorithm Hash digest
SHA256 74392ebdb811c13316c04d52cfdcae71cb90a7ee6b65829992f02fc056a0c81a
MD5 f5533014f6ecb6363bb800c9865ef106
BLAKE2b-256 3952ac642adb3c3a15dca4d2273b9bd56de07396de99f42e321914df7d08d0b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ansys_solutions_dash_super_components-0.2.dev7.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.dev7-py3-none-any.whl.

File metadata

File hashes

Hashes for ansys_solutions_dash_super_components-0.2.dev7-py3-none-any.whl
Algorithm Hash digest
SHA256 823573b8b887fde15c99432474b5db318ba6702131b855d9ad809649745dfa3e
MD5 ce7b5ef04c6fc2ed3a469ddff9443ba3
BLAKE2b-256 e96fcf315d659af5c2c24c1699b0d62d90043a6a5068329c72f085f6a1fc862f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ansys_solutions_dash_super_components-0.2.dev7-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