
muiMaterial brings MUI Material UI, the
world’s most popular React UI framework, to R and Shiny.
Most Shiny apps follow the same template: a sidebar on the left, tabs
on top, content in the middle. muiMaterial lets you go
further. It gives you access to Material UI’s rich component library, so
you can build apps and reports that look and feel truly unique.
See a live example: MUI template dashboard.
muiMaterial::muiMaterialExample("mui-template-dashboard")remotes::install_github("lgnbhl/muiMaterial") # v0.2.0 (SOON ON CRAN)install.packages("muiMaterial") # v0.1.3library(shiny)
library(muiMaterial)
ui <- muiMaterialPage(
Box(
sx = list(p = 2),
Typography("Hello Material UI!", variant = "h4")
)
)
server <- function(input, output, session) {}
shinyApp(ui, server)Explore the Getting Started vignette, or run the showcase:
muiMaterial::muiMaterialExample("showcase")muiMaterial is built on top of shiny.react, the R
package by Appsilon that makes
it possible to use React components in Shiny and Quarto.
Found a bug or have a feature request? Open an issue. Pull requests are welcome.
Follow Felix Luginbuhl on LinkedIn for updates.
This package is released under the MIT License.
It bundles a pre-built copy of the Material
UI JavaScript library; the third-party copyrights and license texts
are summarised in LICENSE.note and preserved
in inst/www/muiMaterial/mui-material.js.LICENSE.txt.
“MUI” and “Material UI” are trademarks of MUI
Inc. muiMaterial is an independent, community-maintained R
package and is not affiliated with, sponsored by, or endorsed by
MUI Inc. The names are used solely to identify the underlying
JavaScript library that this package wraps. See MUI’s legal information for the canonical
list of MUI’s published policies.