Tag

A small label on a tinted, outlined or solid fill, with the same colors as the web Tag.

Variant

Set variant to filled, outlined or solid to choose how much paint a tag uses.

Color

Set color to default, primary, success, warning, error or info, and each works with every variant.

Preset color

Set color to a preset palette, such as blue, purple or gold.

Custom color

Set color to any CSS color, and variant picks its tint, outline or solid fill.

Shape

Set shape to round for a pill, or leave the default corners.

Size

Set size to small for a shorter tag with smaller text, for dense metadata.

Emphasis

Set emphasis to subtle for a neutral fill that keeps the colored text.

With icon

Pass an icon role to draw a glyph before the label, in the label's color.

Icon only

Pass an icon with no label and an aria-label that names it for a square tag, which draws no status dot.

Status

Set status to success, processing, warning, error or default to draw a dot before the label.

Status color

Set statusColor to a color family, a preset palette name or a #rrggbb hex (which keeps its value in dark mode) to paint the dot alone.

Avatar

Pass an image URL as avatar to show a small picture at the start of the tag.
Pass href to make the tag a link, in Outlook for Windows too.

Disabled

Set disabled for the disabled fill, text and border, and a tag that is never a link.