Card

Description

A titled container, built from a header, a body and a footer.

Usage

bc_card(...)

bc_card_header(...)

bc_card_body(...)

bc_card_footer(...)

bc_card_action(...)

Arguments

Argument Description
... Tag attributes and children. Pass data-size = "sm" to bc_card() for a denser card.

Value

A tag.

Details

Parts render in the order written. An <img> before bc_card_header() becomes a cover image.

Examples

bc_card(
  bc_card_header(
    htmltools::h2("Production deploy"),
    htmltools::p("v1.4.2, 3m 12s"),
    bc_card_action(bc_badge("passed"))
  ),
  bc_card_body(htmltools::p("All 128 checks green.")),
  bc_card_footer(htmltools::p("Deployed just now."))
)

Production deploy

v1.4.2, 3m 12s

passed

All 128 checks green.

Deployed just now.