tablerStatCard {tablerDash} | R Documentation |
Create a Boostrap 4 stat card
Description
Build a tabler stat card
Usage
tablerStatCard(value, title, trend = NULL, width = 3)
Arguments
value |
Card value. |
title |
Card title. |
trend |
Percentage increase/decrease. |
width |
Card width. 3 by default. |
Author(s)
David Granjon, dgranjon@ymail.com
Examples
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) {}
)
}
[Package tablerDash version 0.1.0 Index]