shinythemes - Themes for Shiny

  •        0

Using the themes is simple. Use the `theme` argument to `bootstrapPage`, `fluidPage`, `navbarPage`, or `fixedPage`. The value should be `shinytheme("")`; for example, `shinytheme("cerulean")`.For example, a ui.R file might look something like this:```Rlibrary(shinythemes)navbarPage("United", theme = shinytheme("cerulean"), tabPanel("Plot", "Plot tab contents..."), navbarMenu("More", tabPanel("Summary", "Summary tab contents..."), tabPanel("Table", "Table tab contents...") ))```An example single-file app might look like this:```Rlibrary(shinythemes)shinyApp( ui = navbarPage("United", theme = shinytheme("united"), tabPanel("Plot", "Plot tab contents..."), navbarMenu("More", tabPanel("Summary", "Summary tab contents..."), tabPanel("Table", "Table tab contents...") ) ), server = function(input, output) { })```

https://github.com/rstudio/shinythemes

Tags
Implementation
License
Platform

   

comments powered by Disqus


Related Projects







Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.

Tag Cloud >>