argonInfoCard: Create a Boostrap 4 dashboard info card

Description Usage Arguments Author(s)

View source: R/useful-items.R

Description

Build an argon dashboard info card

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
argonInfoCard(
  value,
  title = NULL,
  stat = NULL,
  stat_icon = NULL,
  description = NULL,
  icon,
  icon_background = "default",
  hover_lift = FALSE,
  shadow = FALSE,
  background_color = NULL,
  gradient = FALSE,
  width = 3
)

Arguments

value

info card value.

title

info card title.

stat

info card stat value.

stat_icon

info card stat icon. Expect argonIcon or icon.

description

info card stat description.

icon

info card icon. Expect argonIcon or icon.

icon_background

info card icon background color.

hover_lift

Whether to apply a lift effect on hover. FALSE by default. Not compatible with floating.

shadow

Whether to apply a shadow effect. FALSE by default.

background_color

Card background color. NULL by default.

gradient

Whether to apply a gradient effect on the card background. FALSE by default.

width

info card width. Between 1 and 12.

Author(s)

David Granjon, dgranjon@ymail.com


argonDash documentation built on Dec. 1, 2019, 1:08 a.m.