Bootstrap 5 UI Tutorial

Build fast, responsive sites with Bootstrap 5

BS5 Badges

Bootstrap 5 Badges

Badges are used to add additional information to any content.

Use the .badge class together with a contextual class (like .bg-secondary) within <span> elements to create rectangular badges.

Pill Badges

Use the .rounded-pill class to make the badges more round.

Try It Yourself

Edit the code below and click Run to see the result live.

Source Code
Result
Topics