Skip to content

Generates a card UI element with given content and styling.

Usage

make_card(
  code,
  title,
  body,
  card_class = "mlk-card",
  header_background = "black",
  header_class = "mlk-card-header-size",
  body_class = "mlk-card-body-size justify-content-between",
  footer_class = "mlk-card-footer-size",
  botoes
)

Arguments

code

Code to replace in button onclick.

title

Title of the card.

body

Body content of the card.

card_class

CSS class for the card.

header_background

Background color for the card header.

header_class

CSS class for the card header.

body_class

CSS class for the card body.

CSS class for the card footer.

botoes

Function to generate buttons.

Value

A Shiny UI card element.