Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

Author(s)

David Granjon, dgranjon@ymail.com


bs4Dash

A 'Bootstrap 4' Version of 'shinydashboard'

v0.5.0
GPL (>= 2) | file LICENSE
Authors
David Granjon [aut, cre], RinteRface [cph], Almasaeed Studio [ctb, cph] (AdminLTE3 theme for Bootstrap 4), Winston Chang [ctb, cph] (Utils functions from shinydashboard), Thomas Park [ctb, cph] (Bootswatch Sketchy theme CSS)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.