material_collection: Create a collection

Description Usage Arguments Examples

Description

Create a collection

Usage

1

Arguments

...

slot for material_collection_item or material_collection_header or material_collection_avatar.

header

Whether to enable material_collection_header. FALSE by default.

depth

Collection depth. Value between 0 and 5.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
material_collection(
  header = TRUE,
  material_collection_header(
   title = "item 1"
  ),
  material_collection_item(
   active = TRUE,
   "This is the item content",
   secondary_content = material_badge(
    content = "Secondary content", 
    color = "red"
   )
  ),
  material_collection_avatar(
   src = "https://materializecss.com/images/yuna.jpg",
   title = "Title",
   content = "This is the content"
  )
)

DivadNojnarg/shinymaterialPlus documentation built on May 10, 2019, 9:28 a.m.