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.
Dashboard title (displayed top-left side). Alternatively, use dashboardBrand for more evolved title.
This argument is deprecated; bs4Dash (AdminLTE3) title width is tightly related to the sidebar width, contrary to shinydashboard (AdminLTE2).
If TRUE
, don't display the header bar.
An optional list containing items to put in the header. Same as
the ...
arguments, but in list format. This can be useful when
working with programmatically generated items.
Custom left Ui content. Any element like dropdownMenu.
Custom right Ui content. Any element like dropdownMenu.
Navbar skin. "dark" or "light".
Navbar status. Valid statuses are defined as follows:
primary
: #007bff
.
secondary
: #6c757d
.
info
: #17a2b8
.
success
: #28a745
.
warning
: #ffc107
.
danger
: #dc3545
.
gray-dark
: #343a40
.
gray
: #adb5bd
.
white
: #fff
.
indigo
: #6610f2
.
lightblue
: #3c8dbc
.
navy
: #001f3f
.
purple
: #605ca8
.
fuchsia
: #f012be
.
pink
: #e83e8c
.
maroon
: #d81b60
.
orange
: #ff851b
.
lime
: #01ff70
.
teal
: #39cccc
.
olive
: #3d9970
.
Whether to separate the navbar and body by a border. TRUE by default.
Whether items should be compacted. FALSE by default.
Icon of the main sidebar toggle.
Icon to toggle the controlbar (left).
Whether to fix the navbar to the top. FALSE by default.