value_box_output: Create a value box output.

View source: R/value_box.R

value_box_outputR Documentation

Create a value box output.

Description

UI-side function for dynamic valueBox.

Usage

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

  • valueBoxOutput(): Create a valueBox output (alias for value_box_output)

  • infoBoxOutput(): Create a valueBox output (alias for value_box_output)

Examples

## 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)

Appsilon/semantic.dashboard documentation built on April 25, 2023, 7:38 p.m.