Build an argon carousel
argonCarousel(..., id, floating = FALSE, hover_lift = FALSE, width = 6)
Slot for argonCarouselItem.
Carousel unique id.
Whether to apply a floating effect. FALSE by default.
Whether to apply a lift effect on hover. FALSE by default. Not compatible with floating. Only if card_mode is TRUE.
Carousel width.
if (interactive()) {
library(argonR)
argonCarousel(
id = "carousel2",
argonCarouselItem(
src = "https://demos.creative-tim.com/argon-design-system/assets/img/theme/img-1-1200x1000.jpg",
active = TRUE
),
argonCarouselItem(
src = "https://demos.creative-tim.com/argon-design-system/assets/img/theme/img-2-1200x1000.jpg",
active = FALSE
)
)
}