Skip to main content

Custom dash components based on Mantine React Components library

Project description

dmc

Dash Mantine Components


dash-mantine-components is an extensive (40+) 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

Available Components

Quickstart

import dash_mantine_components as dmc
from dash import Dash, Input, Output

app = Dash(__name__)

app.layout = html.Div(
    [
        dmc.DatePicker(
            id="datepicker", format="dddd, MMMM D, YYYY", style={"width": "250px"}
        ),
        dmc.Space(h=20),
        dmc.Text(id="text"),
        dmc.Button("Click Me!")
    ]
)


@app.callback(Output("text", "children"), Input("datepicker", "date"))
def datepicker(date):
    return date


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

TODO:

  1. Add more components from Mantine library and enhance already added ones.
  2. Create documentation.
  3. Support dark theme.
  4. Create more examples.
  5. Add contributing guide.
  6. Add testing.

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_mantine_components-0.2.0.tar.gz (151.8 kB view details)

Uploaded Source

Built Distribution

dash_mantine_components-0.2.0-py3-none-any.whl (191.2 kB view details)

Uploaded Python 3

File details

Details for the file dash_mantine_components-0.2.0.tar.gz.

File metadata

  • Download URL: dash_mantine_components-0.2.0.tar.gz
  • Upload date:
  • Size: 151.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 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_mantine_components-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d6b8a08c7e697a3b1c1d5930fba2dbbefd5b310a9bd3becddebd2628bdc86714
MD5 25718f508a37dba683be1791cbc86772
BLAKE2b-256 91f63eb8c40312b68e001b10e988c7be5a0441763b68cf942600ab2ec461a360

See more details on using hashes here.

File details

Details for the file dash_mantine_components-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dash_mantine_components-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 191.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 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_mantine_components-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 25b7feac097bc466873b11b6e03b7eb9dccc71c2a3651d4f59ba5bdf401b894d
MD5 95a672ad51b071a90384a16bf9c73112
BLAKE2b-256 3d996320e4eb8ed42a0f88f56cfc5827b3dd9b5606c3f32c0f4080ad554a27c7

See more details on using hashes here.

Supported by

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