README Badges: Complete Guide to Shields.io
Master README badges with shields.io. Learn how to add npm version, license, build status, coverage, downloads, and custom badges to make your README stand out.
Detailed Explanation
Complete Guide to README Badges
Badges (also called shields) are small images at the top of a README that communicate key project metadata at a glance. They serve as trust signals for potential users and contributors.
Essential Badges
npm Version
[](https://npmjs.com/package/my-package)
Shows the latest published version on npm. Links to the package page.
License
[](https://opensource.org/licenses/MIT)
Communicates licensing terms instantly. Essential for enterprise adoption.
Build Status
[](https://github.com/user/repo/actions)
Shows whether the CI pipeline is passing. Green builds trust.
Coverage
[](https://codecov.io/gh/user/repo)
Demonstrates test quality. High coverage percentages attract contributors.
Additional Useful Badges
Downloads
[](https://npmjs.com/package/my-package)
TypeScript
[](https://www.typescriptlang.org/)
Bundle Size
[](https://bundlephobia.com/package/my-package)
Badge Layout
Place badges on a single line or group related badges:
[](link) [](link) [](link)
Custom Badges
Create custom badges with shields.io:
https://img.shields.io/badge/<LABEL>-<MESSAGE>-<COLOR>
Example: https://img.shields.io/badge/PRs-welcome-brightgreen.svg
Use Case
Adding professional-looking status badges to an open source project README to communicate version, build status, test coverage, and license at a glance.