Content and variants
Five kinds of content in the four semantic colours, which are the names gog-tag takes. danger is the default, the colour of a count someone should look at. A number over badgeMax (99) prints as 99+; a word is left alone, since capping only means something for a count. badgeDot drops the text for "something changed here", with no number to give.
gogBadge="3"
gogBadge="42"
gogBadge="150"
gogBadge="NEW"
badgeDot
@for (content of contents; track content.label) {
<div>
<span>{{ content.label }}</span>
@for (variant of variants; track variant) {
<gog-button
variant="outline"
[gogBadge]="content.value"
[badgeDot]="content.dot"
[badgeVariant]="variant"
>
{{ variant }}
</gog-button>
}
</div>
}