Badge
Inline labels with colors, icons, and links.
No clicks I just rest
Here is the guide to find your way
Example — beans are spilled.
Usage#
Put the label in square brackets. Add a color and, optionally, an icon.
Links#
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"ColorIDRegistered badge palette.
iconDefaultundefinedIconIDDecorative icon before the badge text.
hrefDefaultundefinedstringInternal or HTTP(S) destination. Linked badges cannot have a
legend.
legendDefaultundefinedstringSupplementary text shown in an
infotip. Omit for a plain badge; cannot be combined withhref.