Extend 'shinydashboard' with 'AdminLTE2' components. 'AdminLTE2' is a free 'Bootstrap 3' dashboard template available at < https://adminlte.io>. Customize boxes, add timelines and a lot more.
# for the CRAN versioninstall.packages("shinydashboardPlus")# for the latest versiondevtools::install_github("RinteRface/shinydashboardPlus")
shinydashboardPlus is based on the idea of ygdashboard, the latter not compatible with shinydashboard (you cannot use shinydashboard and ygdashboard at the same time). With shinydashboardPlus you can still work with the shinydashboard classic functions and enrich your dashboard with all additional functions of shinydashboardPlus!
See a demonstration here or run:
shinydashboardPlusGallery()
Below an example of application in medicine:
setShadow()
, setPulse()
, setShake()
and
setZoom()
, since they are contained in shinyEffectsboxPlus()
headers: navy, teal, orange, maroon, black and purplerightSidebar()
: useful if we do not want to
embed elements in tabs.dashboardFooter()
dashboardUser()
, dashboardUserItem()
, renderUser()
and userOutput()
carousel()
and carouselItem()
dashboardHeaderPlus()
title was NULLflipBox()
boxPlus()
function: set up with the following arguments
"enable_sidebar", "sidebar_content", "sidebar_width", "sidebar_background" and
"sidebar_start_open"dashboardHeaderPlus()
to include elements
in the left part of the navbar. (In addition to what you can already do in the
right part with shinydashboard)dropdownBlock()
to include shiny input elements in a navbar left menu
(optimized for all screen sizes)dashboardHeaderPlus()
).
If TRUE, the navbar is fixed-top. (static-top by default)setZoom()
function (similar as setShadow()
)setPulse()
functionsetShake()
functiondashboardPagePlus()
(custom preloader)shinydashboardPlusGallery()
dashboardLabel()
userPost()
to show or hide comments when the
application starts.appButton()
open a new window when clickedsocialButton()
open a new window when clickedsocialBox()
socialBox()
socialBox()
in case there are more than 2 comments (avoid "infinite" height boxes)timelineItem()
footer when NULLuserPostMedia()
dropdownBlock()
icon not displaying)rightSidebar()
. When the function was called without
any element, it triggered an error because the number of items was 0starBlock()
, navPillsItem()
and the socialBlock()
title does not reload
or redirect at the top of the pageattachmentBlock()
link open a new page in a new tab (target = "_blank")dropdownItem()
(boxPlus()
): "target" is replaced by "url".rightSidebar()
function: remove rightSidebarTabList()
, rightSidebarTabItem()
and
rightSidebarPanel()
from the user interface. See here to discover how to set up
a new rightSidebar()
rightSidebar()
(set to 230 pixels by default) to
improve customization.setShadow()
to set shadow and hover effects on any elementsrightSidebarTabContent()
: see #4dashboardPagePlus()
verticalProgress()
bars!rightSidebar()
: rightSidebarMenu()
, rightSidebarMenuItem()
, menuIcon()
and menuInfo()
(see shinydashboardPlusGallery()
)boxPlus()
: add dropdownItemList()
, dropdownItem()
and dropdownDivider()
functions (see shinydashboardPlusGallery()
)timelineItemMedia()
and userPostMedia()
timeLineBlock()
either inside or outside a boxuserPostToolItemList()
, userPostToolItem()
, userPostMedia()
,
userPostToolItem()
boxProfileItemList()
, boxProfileItem()
shinydashboardPlusGallery()
shinydashboardPlusGallery()
rightSidebar()
boxPlus()
gradientBox()
, widgetUserBox()
, socialBox()
boxPad()
, attachmentBlock()
, descriptionBlock()
, productList()
,
navPills()
, todoList()
, userList()
, boxComment()
appButton()
and socialButton()
(NOTE: these are not inputButtons!)starBlock()
, loadingState()
, blockQuote()
, dashboardLabel()
dashboardHeaderPlus()
,
dashboardPagePlus()