Build an argon Nucleo icon wrapper
argonIconWrapper(
iconTag,
circle = TRUE,
size = NULL,
status = "default",
gradient_color = NULL,
shadow = TRUE,
hover_shadow = FALSE
)
Slot for argonIcon
Wrapper's shape. TRUE by default.
Wrapper size. "sm", "md" or "lg".
Wrapper color. See https://demos.creative-tim.com/argon-design-system/docs/foundation/colors.html.
icon gradient background color.
Whether to apply a shadow effet. TRUE by default.
Only if shadow is TRUE. Whether to enlarge the shadow on hover. FALSE by default.
if (interactive()) {
library(argonR)
argonIconWrapper(
iconTag = argonIcon("atom"),
size = "lg",
status = "danger",
shadow = TRUE,
hover_shadow = TRUE
)
}