Description Usage Arguments Author(s) Examples
A value box
1 2 |
value |
value |
title |
value box title |
description |
description if any |
icon |
value box icon if any |
width |
value box width. 3 by default |
David Granjon, dgranjon@ymail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | if (interactive()) {
library(shiny)
library(gentelellaShiny)
shinyApp(
ui = gentelellaPageCustom(
gentelellaBody(
valueBox(
value = 179,
title = "New Sign ups",
description = "Lorem ipsum psdea itgum rixt",
icon = icon("caret-square-o-right")
),
valueBox(
value = 345,
title = "New Customers",
description = "Lorem ipsum psdea itgum rixt",
icon = icon("comments-o")
)
)
),
server = function(input, output, session) {}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.