bs4Dash (version 0.5.0)

bs4DashSidebar: Create a Boostrap 4 dashboard main sidebar

Description

Build an adminLTE3 dashboard main sidebar

Usage

bs4DashSidebar(
  ...,
  inputId = NULL,
  disable = FALSE,
  title = NULL,
  skin = "dark",
  status = "primary",
  brandColor = NULL,
  url = NULL,
  src = NULL,
  elevation = 4,
  opacity = 0.8,
  expand_on_hover = TRUE
)

dashboardSidebar( ..., inputId = NULL, disable = FALSE, title = NULL, skin = "dark", status = "primary", brandColor = NULL, url = NULL, src = NULL, elevation = 4, opacity = 0.8, expand_on_hover = TRUE )

Arguments

...

Slot for bs4SidebarMenu.

inputId

Recover the state of the sidebar.

disable

If TRUE, the sidebar will be disabled.

title

Sidebar title.

skin

Sidebar skin. "dark" or "light"

status

Sidebar status. "primary", "danger", "warning", "success", "info".

brandColor

Brand color. NULL by default: "primary", "danger", "warning", "success", "info", "white" or "gray-light".

url

Sidebar brand link.

src

Sidebar brand image.

elevation

Sidebar elevation. 4 by default (until 5).

opacity

Sidebar brand opacity. From 0 to 1. 0.8 by default.

expand_on_hover

Whether to expand the sidebar om hover. TRUE by default.