knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(tibble)
library(bs4cards)

In this article I'll provide an overview of the various arguments to cards(), and how they can be used to customise the look and feel of a card grid, using the built in galleries data.

library(bs4cards)
galleries

Conceptually, a card is comprised of five major parts:

The different parts are illustrated in the example below:

galleries %>% 
  cards(
    title = long_name,
    text = blurb,
    link = gallery_url,
    image = image_url,
    footer = date
  )


djnavarro/bs4cards documentation built on Dec. 20, 2021, 12:04 a.m.