add_badge | R Documentation |
Create a BS5 badge
add_badge(color = "default", text = NULL, class = NULL, pill = FALSE)
color |
Badge color |
text |
Badge text |
class |
Badge additional class |
pill |
pill badge ? (TRUE or FALSE) |
a BS5 badge
add_badge( color ="transparent", text = "25+", class = "border border-danger text-danger", pill = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.