tablerInfoCard {tablerDash} | R Documentation |
Create a Boostrap 4 info card
Description
Build a tabler info card
Usage
tablerInfoCard(value, description = NULL, status, icon, href = NULL,
width = 4)
Arguments
value |
Card value. |
description |
Percentage increase/decrease. |
status |
Card status. See https://preview.tabler.io/docs/colors.html. |
icon |
Card icon. |
href |
External link. |
width |
Card width. 4 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(
tablerInfoCard(
value = "132 sales",
status = "danger",
icon = "dollar-sign",
description = "12 waiting payments"
)
)
),
server = function(input, output) {}
)
}
[Package tablerDash version 0.1.0 Index]