Badge

Description

A small inline status label.

Usage

bc_badge(..., variant = "default")

Arguments

Argument Description
... Tag attributes and children, passed to htmltools::span(). The text is a child.
variant String. One of default, secondary, destructive, outline, ghost. default writes no attribute.

Value

A <span> tag.

Examples

bc_badge("stable")
stable

bc_badge("wipe", variant = "destructive")
wipe