bs4DashNavbar | R Documentation |
dashboardHeader creates an adminLTE3 dashboard navbar to be included in dashboardPage.
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
)
... |
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. |
David Granjon, dgranjon@ymail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.