Creates an advanced sidebar panel with colors corresponding to a chosen theme style
sidebarPanel(..., title = "TitleApp", footer = FALSE)
... | The elements to include within the body of the sidebar |
---|---|
title | Title of the sidebar content |
footer | Whether or not to enable the footer content |
An HTML containing elements of a sidebar to be embedded in a page
This global layout can be applied to a variety of shiny app and dashboard, with or without a sidebar. See the example below.
# \donttest{ if (interactive()) { library(shiny) library(nextGenShinyApps) shiny::shinyApp( ui = fluidPage( style = "7", header = NULL, sidebar = sidebarPanel( title = "myApp", "Sample sidebar contents", footer = FALSE ), "Plain content" ), server = function(input, output) {} ) } # }