CSSAwwwards
+ Submit tool
effects

CSS Badge & Pill Components

Status badges, category pills, notification counts, and tag chips in pure CSS.

Badges and pills are small labeling components that appear across nearly every UI — status indicators, category tags, notification counts, and filters. This snippet covers solid badges, outline variants, pill-shaped chips, and animated notification count bubbles, all built without any JavaScript.

Live CSS Editor
CSS
Preview
Edit CSS → see live previewTab = 2 spaces

Usage Note

Use data-count attribute with the count-badge::after pattern for notification counts: <button class="count-badge" data-count="3">Inbox</button>. For pill filters, toggle the .pill-active class via JavaScript on click.

Tags
#badge#pill#chip#tag#label#notification
Share on XLinkedIn