Badge 01
A semantic status badge system for active, pending, inactive, and error states with clear visual hierarchy.
Requirements
HTML, CSS
Dependencies
None
Usage
Copy index.html, styles.css and script.js into your project.
Typography: Inter, with a system sans-serif fallback.
About Badge 01
Badge 01 is a badge component in the Badge Components collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated September 10, 2026.
- badge
- status
- badges
- dashboard
- admin
What the code includes
HTML + CSS + JavaScript
3 files: index.html, styles.css, script.js
- Behavior is handled in script.js.
- Includes a prefers-reduced-motion rule for its animation.
React + TypeScript + Tailwind CSS
3 files: Badge01.jsx, Badge01.types.ts, Badge01.tailwind.css
- Configurable through 3 props: status, label, className.
- Renders without React state or effects.
- Includes a prefers-reduced-motion rule for its animation.