bs4DashNavbar {bs4Dash} | R Documentation |
Boostrap 4 dashboard navbar
Description
dashboardHeader creates an adminLTE3 dashboard navbar to be included in dashboardPage.
Usage
bs4DashNavbar(
...,
title = NULL,
titleWidth = NULL,
disable = FALSE,
.list = NULL,
leftUi = NULL,
rightUi = NULL,
skin = "light",
status = "white",
border = TRUE,
compact = FALSE,
sidebarIcon = shiny::icon("bars"),
controlbarIcon = shiny::icon("table-cells"),
fixed = FALSE
)
dashboardHeader(
...,
title = NULL,
titleWidth = NULL,
disable = FALSE,
.list = NULL,
leftUi = NULL,
rightUi = NULL,
skin = "light",
status = "white",
border = TRUE,
compact = FALSE,
sidebarIcon = shiny::icon("bars"),
controlbarIcon = shiny::icon("table-cells"),
fixed = FALSE
)
Arguments
... |
Any UI element between left and right Ui. Can include navbarMenu to host the navigation in the navbar. |
title |
Dashboard title (displayed top-left side). Alternatively, use dashboardBrand for more evolved title. |
titleWidth |
This argument is deprecated; bs4Dash (AdminLTE3) title width is tightly related to the sidebar width, contrary to shinydashboard (AdminLTE2). |
disable |
If |
.list |
An optional list containing items to put in the header. Same as
the |
leftUi |
Custom left Ui content. Any element like dropdownMenu. |
rightUi |
Custom right Ui content. Any element like dropdownMenu. |
skin |
Navbar skin. "dark" or "light". |
status |
Navbar status. Valid statuses are defined as follows:
|
border |
Whether to separate the navbar and body by a border. TRUE by default. |
compact |
Whether items should be compacted. FALSE by default. |
sidebarIcon |
Icon of the main sidebar toggle. |
controlbarIcon |
Icon to toggle the controlbar (left). |
fixed |
Whether to fix the navbar to the top. FALSE by default. |
Author(s)
David Granjon, dgranjon@ymail.com