shinymaterial (version 0.5.1)

material_card: Create a card that will contain UI content

Description

UI content can be placed in cards to organize items on a page.

Usage

material_card(title, ..., depth = NULL)

Arguments

title

String. The title of the card

...

The UI elements to place in the card

depth

Integer. The amount of depth of the card. The value should be between 0 and 5. Leave empty for the default depth.

Examples

Run this code
# NOT RUN {
material_card(
  title = "Example Card",
  depth = 5,
  shiny::tags$h5("Card Content")
)
# }

Run the code above in your browser using DataCamp Workspace