Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dashboardPage

Dashboard page


Description

This creates a dashboard page for use in a Shiny app.

Usage

dashboardPage(header, sidebar, body, title = NULL, skin = c("blue", "black",
  "purple", "green", "red", "yellow"))

Arguments

header

A header created by dashboardHeader.

sidebar

A sidebar created by dashboardSidebar.

body

A body created by dashboardBody.

title

A title to display in the browser's title bar. If no value is provided, it will try to extract the title from the dashboardHeader.

skin

A color theme. One of "blue", "black", "purple", "green", "red", or "yellow".

See Also

Examples

## Only run this example in interactive R sessions
if (interactive()) {
# Basic dashboard page template
library(shiny)
shinyApp(
  ui = dashboardPage(
    dashboardHeader(),
    dashboardSidebar(),
    dashboardBody(),
    title = "Dashboard example"
  ),
  server = function(input, output) { }
)
}

shinydashboard

Create Dashboards with 'Shiny'

v0.7.1
GPL (>= 2) | file LICENSE
Authors
Winston Chang [aut, cre], Barbara Borges Ribeiro [aut], RStudio [cph], Almasaeed Studio [ctb, cph] (AdminLTE theme for Bootstrap), Adobe Systems Incorporated [ctb, cph] (Source Sans Pro font)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.