sidebar_pane {leaflet.extras2}R 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)

[Package leaflet.extras2 version 1.2.2 Index]