Description Usage Arguments Examples
Create a collection
1 | material_collection(..., header = FALSE, depth = NULL)
|
... |
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. |
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"
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.