Skip to main content

No project description provided

Project description

logo

Dash Mantine Components is an extensive (55+) 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.

Documentation

Table of contents

Installation

pip install dash-mantine-components

Quickstart

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

app = Dash(__name__)

app.layout = html.Div(
    [
        dmc.DatePicker(id="datepicker", format="dddd, MMMM D, YYYY"),
        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)

Contributing

  1. Join our Discord community.

  2. Install virtual environment:

    python -m venv venv
    source venv/bin/activate
    pip install -r requirements.txt
    
  3. Install npm dependencies

    npm install
    
  4. Add your new component in src/lib/components. Make sure to include it in the src/lib/index.js as well.

  5. Ensure that component props are sorted in ascending order. Refer to existing components.

  6. Add a line in the CHANGELOG.md under one of these: Added, Changed, Deprecated, Removed, Fixed.

  7. Raise a PR, including an example to reproduce the changes contributed by the PR.

TODO

  1. Add more components from Mantine library and enhance already added ones.
  2. Add contributing guide.
  3. Add testing.
  4. Enhance docs.
  5. Add lazy loading to the components.

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

custom_mantine_datepicker-0.0.1.tar.gz (64.1 kB view details)

Uploaded Source

Built Distribution

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

custom_mantine_datepicker-0.0.1-py3.8.egg (76.9 kB view details)

Uploaded Egg

File details

Details for the file custom_mantine_datepicker-0.0.1.tar.gz.

File metadata

  • Download URL: custom_mantine_datepicker-0.0.1.tar.gz
  • Upload date:
  • Size: 64.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.2

File hashes

Hashes for custom_mantine_datepicker-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c1898bc47c1bb23e371e0d897772719d64fb2c8c071a61c094552ce17ae24235
MD5 64fe488ad88beb40413ff11bf28d232d
BLAKE2b-256 327e2cd022785b7ae4938954ba7e92ba5c25dac946d658566591bdb37564bc72

See more details on using hashes here.

File details

Details for the file custom_mantine_datepicker-0.0.1-py3.8.egg.

File metadata

  • Download URL: custom_mantine_datepicker-0.0.1-py3.8.egg
  • Upload date:
  • Size: 76.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.2

File hashes

Hashes for custom_mantine_datepicker-0.0.1-py3.8.egg
Algorithm Hash digest
SHA256 9368a341f360adb0bd2081e660ea49dbfb0628c53fa2bb1fccb3eee610f35c6f
MD5 9bd3799d0eaa0e5d4a651b172ccd8626
BLAKE2b-256 e5fb5f5c9962b3c0518eef2de169d7fb582e4b2cace1b61f7c5cabdf397a0a32

See more details on using hashes here.

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