tablerStatCard | R Documentation |
Build a tabler stat card
tablerStatCard(value, title, trend = NULL, width = 3)
value |
Card value. |
title |
Card title. |
trend |
Percentage increase/decrease. |
width |
Card width. 3 by default. |
David Granjon, dgranjon@ymail.com
if(interactive()){
library(shiny)
library(tablerDash)
shiny::shinyApp(
ui = tablerDashPage(
navbar = NULL,
footer = NULL,
title = "test",
body = tablerDashBody(
tablerStatCard(
value = 43,
title = "Followers",
trend = -10
)
)
),
server = function(input, output) {}
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.