Skip to contents

Create a Sidebar Pane

Usage

sidebar_pane(
  title = "Sidebar Title",
  id = NULL,
  icon = icon("caret-right"),
  ...
)

Arguments

title

A title for the sidebar panel

id

An id for the sidebar panel

icon

An icon for the sidebar panel

...

List of elements to include in the panel

Value

A shiny.tag with sidebar-specific HTML classes

See also

Other Sidebar Functions: addSidebar(), closeSidebar(), openSidebar(), removeSidebar(), sidebar_tabs()

Examples

if (FALSE) { # \dontrun{
library(shiny)
sidebar_pane(id = "id", icon = icon("cars"), tags$div())
} # }