Documentation index: /llms.txt. Each page is also available as Markdown by adding .md to its URL.

Skip to content
Brief

Badge

Inline labels with colors, icons, and links.

Badge showcase controls
Color
Icon

No clicks I just rest
Here is the guide to find your way
— beans are spilled.

Usage#

Put the label in square brackets. Add a color and, optionally, an icon.

Add href to transform a badge into a link.

Legends#

Use legend instead of href for a hover-triggered explanation instead of a link.

Reference#

colorDefault "base"
ColorID

Registered badge palette.

iconDefault undefined
IconID

Decorative icon before the badge text.

hrefDefault undefined
string

Internal or HTTP(S) destination. Linked badges cannot have a legend.

legendDefault undefined
string

Supplementary text shown in an infotip. Omit for a plain badge; cannot be combined with href.