A dashboard sidebar typically contains a sidebarMenu
, although
it may also contain a sidebarSearchForm
, or other Shiny inputs.
dashboardSidebar( ..., id = NULL, disable = FALSE, width = NULL, collapsed = FALSE, minified = TRUE )
... | Items to put in the sidebar. |
---|---|
id | Sidebar input id. Returns the current state of the sidebar. |
disable | If |
width | The width of the sidebar. This must either be a number which specifies the width in pixels, or a string that specifies the width in CSS units. |
collapsed | If |
minified | Whether to slightly close the sidebar but still show item icons. Default to TRUE. |