Creates a styled value box for displaying a single metric.
Value
A bslib::value_box element.
Examples
box <- r4sub_value_box("SCI Score", 85.2, theme = "success")
class(box)
#> [1] "bslib_fragment" "bslib_fragment" "shiny.tag"
Creates a styled value box for displaying a single metric.
A bslib::value_box element.
box <- r4sub_value_box("SCI Score", 85.2, theme = "success")
class(box)
#> [1] "bslib_fragment" "bslib_fragment" "shiny.tag"