value_box | R Documentation |
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 = "")
subtitle |
Label of the valueBox. |
value |
Value of the valueBox. |
icon |
Icon of the valueBox. |
color |
Color of the valueBox. One of |
width |
Width of the valueBox. |
size |
Size of value. One of |
A valueBox that can be passed to dashboardBody
valueBox()
: Create a valueBox (alias for value_box
)
infoBox()
: Create a valueBox (alias for value_box
)
valueBox("Unread Mail", 44, icon("mail"), color = "blue", width = 5, size = "tiny")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.