30 CSS Badges
A CSS badge is a small visual component that signals state, identity, or progress — verification, rank, status, count, or live data. These 30 hand-coded badges cover collectibles, status pills, certifications, notifications, membership tiers, and real-time data displays like price tickers, countdowns, and ECG traces. Each badge is fully scoped with a unique CSS class prefix so you can paste any two into the same project with zero style collisions. Copy the markup, swap the content, ship.
Frequently asked questions
What is a CSS badge?
How do I keep multiple badges from clashing in the same project?
Why is the animation justified on some badges but not others?
Can I use these without JavaScript?
How do I adapt these to my data?
Related collections
14 CSS Banners & Alerts
Hand-coded CSS banner and alert patterns covering every notification surface a real product needs — dismissible alerts, sticky announcements, semantic status alerts, cookie consent, form validation, toasts, live-update banners, and promotional hero banners. Pure CSS plus scoped JS — no framework, semantic HTML, accessibility-first, copy-paste ready.
19 CSS Blockquote Designs
19 hand-coded CSS blockquote designs — pull quotes, testimonials, speech bubbles, tweet style, newspaper drop-caps, code comments and more. Semantic HTML, copy-paste ready.
12 CSS Code Blocks
Twelve hand-coded CSS code block patterns covering every developer surface: minimalist dark and light modes, a Mac terminal CSS code block with traffic-light chrome, a CSS code block with copy button, a CSS code block with line numbers driven by counter-increment, a mobile-responsive overflow / word-wrap pair, neon glow, a glassmorphism code block, inline <code> pill styling, neumorphic embedded, split-pane code plus live preview, and a pure-CSS expandable wrapper. Accessible, mobile-first, scoped per-demo classes, MIT-licensed.