View source: R/valueBoxModule.R
valueBoxModuleUI | R Documentation |
valueBoxModuleUI
valueBoxModuleUI( id, subtitle, icon = NULL, backgroundColor = "#7cb5ec", textColor = "#FFF", width = 4, href = NULL, iconColor = "#00000026" )
id |
the Shiny module id |
subtitle |
The subtitle to be displayed in the value box. Set to "__server__" to dynamically render the subtitle from the server. |
icon |
An icon made by the 'shiny::icon()' |
backgroundColor |
A hex color code string |
textColor |
A hex color code string |
width |
A number between 1 and 12 |
href |
A url |
iconColor |
A valid color string |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.