value_box_output | R Documentation |
UI-side function for dynamic valueBox.
value_box_output(outputId, width = 5)
valueBoxOutput(outputId, width = 5)
infoBoxOutput(outputId, width = 5)
outputId |
Id of the output. |
width |
Width of the valueBox. |
A value box that can be passed to dashboardBody
valueBoxOutput()
: Create a valueBox output (alias for value_box_output
)
infoBoxOutput()
: Create a valueBox output (alias for value_box_output
)
## Not run:
valueBoxOutput("value_box")
output$value_box <- renderValueBox({
valueBox(
value = 33.45,
subtitle = "Simple valuebox",
icon = icon("bar chart"),
color = "purple",
width = 5)
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.