argonBadge: Create a Boostrap 4 badge

View source: R/argonBadge.R

argonBadgeR Documentation

Create a Boostrap 4 badge

Description

Build an argon badge

Usage

argonBadge(text = NULL, src = NULL, pill = FALSE, status = "default")

Arguments

text

Badge text.

src

Badge external link.

pill

Pill mode. FALSE by default.

status

Badge status. See https://demos.creative-tim.com/argon-design-system/docs/components/badge.html.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

if (interactive()) {
 library(argonR)
 argonBadge(
   text = "My badge",
   src = "https://www.google.com",
   pill = FALSE,
   status = "success"
 )
}



RinteRface/argonR documentation built on Feb. 1, 2024, 4:40 p.m.