Quartz loves mui
A good shiny dashboard makes its best impact when powered by an elegant ui solution. Shiny.mui is a port of the beautiful Material-UI react library into shiny r.
remotes::install_github("quartzsoftwarellc/shiny.mui")
All components in the mui library are available in this package. And can be used in accordance with their documentation.
library(shiny.mui)
library(shiny)
runApp(shinyApp(ui = Alert(severity = "info", "This is an Alert"), server = \(...){}))
Additionally, shiny input bindings have been added to all components with the ".shinyInput" suffix.
library(shiny.mui)
library(shiny)
if (interactive()) {
shinyApp(
ui = div(
TextField.shinyInput("text", fullWidth = T, value = "go", variant="standard", multiline = T),
textOutput("textValue")
),
server = function(input, output) {
output$textValue <- renderText({
sprintf("Value: %s", input$text)
})
}
)
}
- shiny.react Library was used to port code, inspired by the shiny.fluent library
- material-ui is the source of all components in this library