powered by
Create a valueBox with additional UI elements.
value_box(subtitle, value, icon = NULL, color = "blue", width = 5, size = "")valueBox(subtitle, value, icon = NULL, color = "blue", width = 5, size = "")infoBox(subtitle, value, icon = NULL, color = "blue", width = 5, size = "")
valueBox(subtitle, value, icon = NULL, color = "blue", width = 5, size = "")
infoBox(subtitle, value, icon = NULL, color = "blue", width = 5, size = "")
Label of the valueBox.
Value of the valueBox.
Icon of the valueBox.
Color of the valueBox. One of c("", "red", "orange", "yellow", "olive", "green", "teal", "blue", "violet", "purple", "pink", "brown", "grey", "black")
c("", "red", "orange", "yellow", "olive", "green", "teal", "blue", "violet", "purple", "pink", "brown", "grey", "black")
Width of the valueBox.
Size of value. One of c("mini", "tiny", "small", "", "large", "huge"). Default is "".
c("mini", "tiny", "small", "", "large", "huge")
A valueBox that can be passed to dashboardBody
dashboardBody
valueBox: Create a valueBox (alias for value_box for compatibility with shinydashboard)
valueBox
value_box
shinydashboard
infoBox: Create a valueBox (alias for value_box for compatibility with shinydashboard)
infoBox
# NOT RUN { valueBox("Unread Mail", 44, icon("mail"), color = "blue", width = 5, size = "tiny") # }
Run the code above in your browser using DataLab