vbox: builds the div for a simple yet visually effective shiny...

View source: R/vbox.R

vboxR Documentation

builds the div for a simple yet visually effective shiny value box

Description

builds the div for a simple yet visually effective shiny value box

Usage

vbox(label = "label", textid = "textOutput_here", col = "rgba(60,130,180,0.5)")

Arguments

label

The label - character of length one

textid

The value - A character vector of length one, optionally the textOutput of a reactive value if using vbox_reactive

col

Bkgrd col- A character of rbg(), rgba(), or a chtml olor name to recognixed in R

Value

A character vector of the div tree to be rendered in the ui of a shiny app

Examples

vbox('Label','£Value')

aarong1/RshinyHelpers documentation built on June 15, 2022, 4:52 a.m.