vbox.Rd
builds the div for a simple yet visually effective shiny value box
vbox(label = "label", textid = "textOutput_here", col = "rgba(60,130,180,0.5)")
The label - character of length one
The value - A character vector of length one, optionally the textOutput of a reactive value if using vbox_reactive
Bkgrd col- A character of rbg(), rgba(), or a chtml olor name to recognixed in R
A character vector of the div tree to be rendered in the ui of a shiny app
vbox('Label','£Value')
#> <div style="border-radius: 15px; border-style: solid; border-color:transparent; padding:0px; margin:0px 10px; width:200px; color:white; font-weight: 300; text-color:blue; text-align:center; background-color:rgba(60,130,180,0.5);">
#> <h5 style="color:white;">Label</h5>
#> <h2 style="font-weight:bold;display: inline-block;vertical-align:top;color:white;">£Value</h2>
#> </div>