Skip to contents

Render a single value box

Usage

render_value_box(
  title,
  value,
  bg_color = "#2c3e50",
  logo_url = NULL,
  logo_text = NULL
)

Arguments

title

Box title (small text above value)

value

Main value to display (large text)

bg_color

Background color (hex code), default "#2c3e50"

logo_url

Optional URL or path to logo image

logo_text

Optional text to display as logo (if no logo_url)