navbarPage

0th

Percentile

Create a page with a top level navigation bar

Create a page that contains a top level navigation bar that can be used to toggle a set of tabPanel elements.

Usage
navbarPage(title, ..., id = NULL, header = NULL, footer = NULL,
  inverse = FALSE, collapsable = FALSE, fluid = TRUE, responsive = TRUE,
  theme = NULL)

navbarMenu(title, ..., icon = NULL)

Details

The navbarMenu function can be used to create an embedded menu within the navbar that in turns includes additional tabPanels (see example below).

Value

A UI defintion that can be passed to the shinyUI function.

See Also

tabPanel, tabsetPanel

Aliases
Examples
shinyUI(navbarPage("App Title",
  tabPanel("Plot"),
  tabPanel("Summary"),
  tabPanel("Table")
))

shinyUI(navbarPage("App Title",
  tabPanel("Plot"),
  navbarMenu("More",
    tabPanel("Summary"),
    tabPanel("Table")
  )
))
Documentation reproduced from package shiny, version 0.9.1, License: GPL-3

Community examples

Looks like there are no examples yet.