Skip to contents

Add a metric/value box

Usage

add_metric(
  content,
  value,
  title,
  icon = NULL,
  color = NULL,
  subtitle = NULL,
  tabgroup = NULL
)

Arguments

content

Content collection object

value

The metric value

title

Metric title

icon

Optional icon

color

Optional color theme

subtitle

Optional subtitle text

tabgroup

Optional tabgroup for organizing content (character vector for nested tabs)