tablerTag {tablerDash}R Documentation

Create a Boostrap 4 tag

Description

Build a tabler tag

Usage

tablerTag(name, href = NULL, rounded = FALSE, color = NULL,
  addon = NULL, addonColor = NULL)

Arguments

name

Tag name.

href

Tag external link.

rounded

Whether the tag is rounded. FALSE by default.

color

Tag color. See https://preview.tabler.io/docs/colors.html.

addon

Tag addon (right side).

addonColor

Addon background color. See https://preview.tabler.io/docs/colors.html.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

if(interactive()){
 library(shiny)
 library(tablerDash)

 shiny::shinyApp(
   ui = tablerDashPage(
    navbar = NULL,
    footer = NULL,
    title = "test",
    body = tablerDashBody(
     tablerTag(name = "Tag"),
     tablerTag(name = "Tag", href = "https://www.google.com"),
     tablerTag(name = "Tag", rounded = TRUE, color = "pink"),
     tablerTag(
      name = "npm",
      href = "https://www.google.com",
      color = "dark",
      addon = "passing",
      addonColor = "warning"
     ),
     tablerTag(name = "build", addon = "passing", addonColor = "success")
    )
   ),
   server = function(input, output) {}
 )
}


[Package tablerDash version 0.1.0 Index]