Build an argon image container
argonImage(
src = NULL,
url = NULL,
floating = FALSE,
card_mode = FALSE,
hover_lift = FALSE,
width = NULL
)
Image source or path.
Only with card_mode on. Optional external link.
Whether to apply a floating effect. FALSE by default.
Whether to include the image in a card wrapper. FALSE by default.
Whether to apply a lift effect on hover. FALSE by default. Not compatible with floating. Only if card_mode is TRUE.
Image manual width in px.
if (interactive()) {
library(argonR)
argonImage(
floating = TRUE,
src = "https://demos.creative-tim.com/argon-design-system/assets/img/ill/ill-2.svg",
hover_lift = TRUE
)
}