argonIconWrapper {argonR} | R Documentation |
Create a Nucleo icon wrapper
Description
Build an argon Nucleo icon wrapper
Usage
argonIconWrapper(
iconTag,
circle = TRUE,
size = NULL,
status = "default",
gradient_color = NULL,
shadow = TRUE,
hover_shadow = FALSE
)
Arguments
iconTag |
Slot for argonIcon |
circle |
Wrapper's shape. TRUE by default. |
size |
Wrapper size. "sm", "md" or "lg". |
status |
Wrapper color. See https://demos.creative-tim.com/argon-design-system/docs/foundation/colors.html. |
gradient_color |
icon gradient background color. |
shadow |
Whether to apply a shadow effet. TRUE by default. |
hover_shadow |
Only if shadow is TRUE. Whether to enlarge the shadow on hover. FALSE by default. |
Author(s)
David Granjon, dgranjon@ymail.com
Examples
if (interactive()) {
library(argonR)
argonIconWrapper(
iconTag = argonIcon("atom"),
size = "lg",
status = "danger",
shadow = TRUE,
hover_shadow = TRUE
)
}
[Package argonR version 0.2.0 Index]