williamneto / reactpy-material

Material UI components for reactpy projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reactpy-material

This project provide Material UI components to be used in reactpy projects. For a deep understanding of the components and its properties check the Material UI Docs.

Available components

Layout

Inputs

Data display

Navigation

Samples

Button

Reference

from reactpy import component
from reactpy_material import button

@component
def app()
    return ( 
        button(
            "Hello world", 
            attrs={
                "variant": "contained", 
                "href": "#test"
            }
        )
    )

Typography

Reference

@component
def app():
    return html.div(
        typography(
            "h1. Heading",
            attrs={
                "variant": "h1"
            }
        )
    )

run(app)

Check the samples/ folder to see more samples of the available components.

About

Material UI components for reactpy projects

License:MIT License


Languages

Language:JavaScript 99.8%Language:Python 0.2%