Build an argon card
argonCard(
...,
title = NULL,
src = NULL,
hover_lift = FALSE,
shadow = FALSE,
shadow_size = NULL,
hover_shadow = FALSE,
border_level = 0,
icon = NULL,
btn_text = "More",
status = "primary",
background_color = NULL,
gradient = FALSE,
floating = FALSE,
width = 6
)
Body content.
Card title.
Card external link.
Whether to apply a lift effect on hover. FALSE by default. Not compatible with floating.
Whether to apply a shadow effect. FALSE by default.
Card shadow size. Only if shadow is TRUE. NULL by default.
Only if shadow is TRUE. Whether to enlarge the shadow on hover. FALSE by default.
Border level. O by default.
Button text. src arg must not be NULL so that this button appears.
Card status. See https://demos.creative-tim.com/argon-design-system/docs/foundation/colors.html.
Card background color. NULL by default. See https://demos.creative-tim.com/argon-design-system/docs/foundation/colors.html.
Whether to apply a gradient effect on the card background. FALSE by default.
Whether to animate the card by a vertical floating movement. FALSE by default. Not compatible with hover_lift.
Card width. Between 1 and 12.
if (interactive()) {
library(argonR)
argonCard(
status = "primary",
width = 12,
title = "Card 1",
hover_lift = TRUE,
shadow = TRUE,
icon = argonIcon("check-bold"),
src = "#",
"Argon is a great free UI package based on Bootstrap 4
that includes the most important components and features."
)
}