tablerStatCard: Create a Boostrap 4 stat card

Description Usage Arguments Author(s) Examples

Description

Build a tabler stat card

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
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) {}
 )
}

tablerDash documentation built on May 2, 2019, 9:58 a.m.