Skip to content

Generates a visual badge to represent status or categories in user interfaces.

Usage

status_badge(color = "#aaa", width = "0.55rem", height = width, rad = "50%")

Arguments

color

A string. The background color of the badge. Defaults to "#aaa".

width

A string. The width of the badge, defining the diameter of the circle. Defaults to "0.55rem".

height

A string. The height of the badge. Defaults to the same as width.

Value

An HTML object representing the status badge.