sidebar_pane: Create a Sidebar Pane

View source: R/sidebar.R

sidebar_paneR Documentation

Create a Sidebar Pane

Description

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

References

https://github.com/Turbo87/sidebar-v2, https://github.com/Turbo87/sidebar-v2/blob/master/doc/usage.md

See Also

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

Examples

## Not run: 
library(shiny)
sidebar_pane(id = "id", icon = icon("cars"), tags$div())

## End(Not run)

leaflet.extras2 documentation built on Aug. 21, 2023, 5:08 p.m.