Build an argon Nucleo icon wrapper

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

David Granjon, dgranjon@ymail.com

Examples

if (interactive()) {
 library(argonR)
 argonIconWrapper(
  iconTag = argonIcon("atom"),
  size = "lg",
  status = "danger",
  shadow = TRUE,
  hover_shadow = TRUE
 )
}