Description Usage Arguments Examples
UI content that can be placed everywhere
1 2 |
content |
Badge content. |
type |
Badge type. NULL by default, can be set as "new". |
color |
Badge color. NULL by default. Visit http://materializecss.com/color.html for a list of available colors. |
custom_caption |
Whether to enable custom captions or not. FALSE by default. |
1 2 3 4 | material_badge(
content = "1",
type = "new"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.