Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus ad amet consectetur exercitationem fugiat in ipsa ipsum, natus odio quidem quod repudiandae sapiente. Amet debitis et magni maxime necessitatibus ullam.
Badges are small count and labeling components, which are used to add extra information to an interface element. You can use them to draw users' attention to a new element, notify about unread messages or provide any kind of additional info.
Default markup
The default badges are square and come in the basic set of colors.
Use the .bagde-pill class if you want to create a badge with rounded corners. Its width will adjust to the label text.
123456789101112
Soft color badges
You can create a soft colour variant of a corresponding contextual badge variation, to make it look more subtle. Click here to see the list of available colors and choose ones that best suit your design.
Leave the HTML element empty if you want to create badges without any text. Empty badges are particularly useful if you want to make an interface element more noticeable regardless of limited space.
Badge avatars
Create the .badge-avatar class to add an avatar that will make a badge more personalized.
Paweł Kuna
JL
Jeffie Lewzey
Mallory Hulme
Dunn Slane
Emmy Levet
Button with badge
Badges can be used as part of links or buttons to provide a counter.