Home / Primitives / Tag

Tag

A small, dismissible label representing a chosen value — selected filters, applied categories, classification metadata. Tags are user-applied; badges are system-applied.

Stable .tag 7 tones · closeable

Default

A 22 px pill with text and an optional close button.

Park Centre Cash · USD High value CBZ Bank
Applied filters .tag · .tag .x

Tones

Tags inherit badge tones. Use sparingly — most tags should stay neutral. Tones mean something happened to that entity.

Neutral
Neutral
Default applied filter
Info
Info
Informational metadata
Verified
Success
Cleared · approved
KYC due
Warn
Needs attention
Held
Danger
Blocked or suspended
Brand
Brand
Selected · primary
Clay
Clay
Mukamba Group accent
Outline
Outline
Quiet variant

With leading icon

Icons reinforce category — a coin for currency, a flag for country, a calendar for date filters.

USD This month Tariro M. NMB Bank
Faceted filters with icons

Tag input

Tags inside a field — for categorisation and inline tagging.

recurring monthly USD
Add-on-Enter tag input .tag-input

Parts

PropertyValueNotes
height22 pxAlways single-line
padding0 4px 0 8px4 px right for the X button
radius4 pxSoft-rectangle, not pill
font500 12 px / 1 sansAlways sentence case
close button16 × 16 px hit area.x with focus ring
icon12 × 12 pxLeading, sits flush with text

Do & don't

Do

Use tags for things the user added — applied filters, free-text tags, picked categories.

Don't

Use tags for system-set state like "Pending" or "Failed". That's a badge.

Do

Keep tags scannable — one or two words. "USD", "Park Centre", "High value".

Don't

Stack 12 tags in one row. If users add that many, surface a count: +8 more

Code

<!-- Plain tag -->
<span class="tag">Park Centre</span>

<!-- Closeable tag -->
<span class="tag">CBZ Bank
  <span class="x" data-icon="x"></span>
</span>

<!-- With leading icon -->
<span class="tag">
  <span data-icon="coin"></span>USD
</span>

Related

For system status pills see Badge. For toggleable filter pills, see Chip.