Create a Bootstrap 386 badge
badge_386(..., status, rounded = FALSE)
... | Text. |
---|---|
status | Badge status. |
rounded | Rounded style. Default to FALSE. |
A shiny tags
if (interactive()) { library(shiny) library(shiny386) ui <- page_386( badge_386(status = "danger", "1"), badge_386(status = "info", "2"), badge_386(status = "success", "3", rounded = TRUE) ) server <- function(input, output, session) {} shinyApp(ui, server) }