Plotly Dash Components based on Mantine
Actively maintained. Last release 4 weeks ago, commits in 18 of the last 26 weeks. A safe choice.
pip install dash-mantine-components
Dash Mantine Components is an extensive (90+) Dash components library based on Mantine React Components Library. It makes it easier to create good quality dashboards with very well designed components out of the box.
Installation
pip install dash-mantine-components
Quickstart
import dash
from dash import Dash, Input, Output, callback, html, no_update
import dash_mantine_components as dmc
app = Dash()
app.layout = dmc.MantineProvider(
[
dmc.DatePickerInput(
id="date-picker",
label="Start Date",
description="You can also provide a description",
minDate='2022-08-05',
value=None,
w=200
),
dmc.Space(h=10),
dmc.Text(id="selected-date"),
]
)
@callback(Output("selected-date", "children"), Input("date-picker", "value"))
def update_output(d):
prefix = "You have selected: "
if d:
return prefix + d
else:
return no_update
if __name__ == "__main__":
app.run_server(debug=True)
📚 Documentation
For detailed information on how to use this project, check out the Documentation. You'll find guides, API references, and examples to help you get started!
🛠️ Contributing
We welcome all contributions! Feel free to open issues for any bugs or feature requests, and don't hesitate to comment on existing issues or pull requests. PRs are encouraged! For more details, please check out our Contributing Guide.