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.
Layout
Inputs
Data display
Navigation
from reactpy import component
from reactpy_material import button
@component
def app()
return (
button(
"Hello world",
attrs={
"variant": "contained",
"href": "#test"
}
)
)
@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.