axi-designv1.50.0

Primitives

Count badge

A small accent-filled number that rides inside another control, saying how many of something that control is holding.

.axi-badge-count

The one filled shape in the language with no outline of its own, because it is always inside something that has one already - a button, a tab, a menu trigger - and a second outline 1px inside the first reads as a seam. It carries a count and never a status, so it takes the accent and none of the status inks.

A count on a filter button

<button class="axi-btn axi-btn--dashed" type="button" aria-expanded="false">Filters <span class="axi-badge-count">3</span></button>