value_box_output: Create a value box output.

Description Usage Arguments Value Functions Examples

View source: R/value_box.R

Description

UI-side function for dynamic valueBox.

Usage

1
2
3
4
5
value_box_output(outputId, width = 5)

valueBoxOutput(outputId, width = 5)

infoBoxOutput(outputId, width = 5)

Arguments

outputId

Id of the output.

width

Width of the valueBox.

Value

A value box that can be passed to dashboardBody

Functions

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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)

semantic.dashboard documentation built on Nov. 10, 2021, 1:06 a.m.