Dash Mantine Components

2.6.1 · active · verified Tue Apr 14

Dash Mantine Components (DMC) is an extensive Python library offering over 100 customizable components for Plotly Dash applications, based on the Mantine React library. It provides consistent styling, theming, and full support for light and dark modes, facilitating the creation of feature-rich and accessible dashboards. The library maintains an active development pace with frequent minor releases for bug fixes and new features, and major versions often aligning with upstream Mantine releases.

Warnings

Install

Imports

Quickstart

A minimal Dash application demonstrating the use of Dash Mantine Components, including the essential `MantineProvider` wrapper.

import dash_mantine_components as dmc
from dash import Dash, html

app = Dash(__name__)

app.layout = dmc.MantineProvider(
    [dmc.Text("Hello, Dash Mantine Components!"), dmc.Button("Click me!")]
)

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

view raw JSON →