Skip to content

Instantly share code, notes, and snippets.

@wch
Created March 24, 2014 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wch/9743915 to your computer and use it in GitHub Desktop.
Save wch/9743915 to your computer and use it in GitHub Desktop.
navlistPanel example for R Shiny

A navlistPanel is like a tabPanel, except that the navigation links are on the left instead of the top.

Type: Shiny
Title: navlistPanel example
License: MIT
Author: Winston Chang <winston@rstudio.com>
AuthorUrl: http://www.rstudio.com/
Tags: navlistpanel
DisplayMode: Showcase
shinyServer(function(input, output) {
})
shinyUI(fluidPage(
titlePanel("Navlist panel example"),
navlistPanel(
"Header",
tabPanel("First",
h3("This is the first panel")
),
tabPanel("Second",
h3("This is the second panel")
),
"-----",
tabPanel("Third",
h3("This is the third panel")
)
)
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment