Skip to content

Badge

Badges are small labels for counts, statuses and tags. They take their size from the surrounding text, so they work in headings, buttons, tables and lists alike; combine them with colour, pill shape and position utilities.

1Background colours

text-bg-* sets a background and a readable text colour in one class.

PrimarySecondarySuccessDangerWarningInfoLightDark

2Pill badges

rounded-pill gives badges fully rounded ends.

PrimarySecondarySuccessDangerWarningInfoLightDark

3Subtle badges

Soft background, emphasis text and a subtle border: a quieter style for dense tables.

PrimarySecondarySuccessDangerWarningInfo

4Badges in headings

Badges scale with the font size of their parent.

Elegant workflow New

Reports Beta

Inbox 8

5Counters in buttons

A badge inside a button shows how many items wait behind it.

6Positioned notification badges

Use position utilities to pin a counter or dot on the corner of a button.

7Status dots on avatars

Small round badges show presence: online, away, offline or busy.

Arjun KimOnline
Arjun
Freya AlvarezAway
Freya
Hana LindqvistOffline
Hana
Zoe OrtegaBusy
Zoe

8Badges with icons

An icon before the label adds meaning without extra words.

Paid Pending Failed In transit Private

9Outline badges

Border and text colour utilities make a light outline style.

PrimarySecondarySuccessDangerWarningInfo

10Status badges in a table

Pill badges are the usual way to show order or payment status in admin tables.

OrderCustomerTotalStatus
#TX-3420Nora Rossi$344.49Paid
#ORD-4626Aria Kowalski$412.93Pending
#TX-5533Kai Haddad$194.08Refunded
#PO-6321Mateo Morgan$437.59Failed

11Tag cloud

Badges as links make a list of tags or categories.

12Removable chips

A small close button inside a pill badge, as used for active filters.

ApartmentsUnder $100In stock4 stars & up

13Badge sizes

Badges inherit font size, so font-size utilities make them bigger or smaller.

TinyDefaultMediumLargeHuge

14Product labels

Badges positioned on product photos highlight sales and new arrivals.

City loftSale
City loft
$665,000
PenthouseNew
Penthouse
$1,835,000
Country farmhouseBest seller
Country farmhouse
$815,000

15Plan and version labels

Small labels next to names flag plans, roles or software versions.

  • Ruby Delgado Pro
  • Ravi Carter Admin Owner
  • Mobile app v2.7
  • Insights Beta

16Counts in a list group

Pill badges aligned to the end of list items show a count per category.

  • Inbox16
  • Starred4
  • Trash4

17Most popular ribbon

A badge on the top edge of a pricing card marks the recommended plan.

Most popular
Team
$36/month

18Counts in navigation

Badges inside nav pills show how many items each tab holds.

19Avatar group with overflow

Overlapping avatars followed by a +N badge for the people not shown.

Omar IbrahimSofia PatelFelix MorganAva Harlow+3 more

20Scores and ratings

Badges summarise review scores and quality ratings.

4.19.6 Excellent 233 reviews Top rated