Open Source

Beautiful README badges

A shields.io alternative with the visual quality of shadcn/ui. Drop-in SVG badges for npm, GitHub, Discord, and more.

npm reactstarsreleaselicense

Badge Builder

(slug or lucide:name)
(hex)
badge preview
![badge](https://shieldcn.dev/npm/react.svg)

Logos: any Simple Icons slug, Lucide with lucide:name, or React Icons with ri:ComponentName.

URL Reference

BadgeURL
Static badge/badge/{label}-{value}-{color}.svg
Dynamic JSON/badge/dynamic/json.svg?url=...&query=...
npm version/npm/{package}.svg
npm downloads/npm/{package}/downloads.svg
GitHub stars/github/{owner}/{repo}/stars.svg
GitHub release/github/{owner}/{repo}/release.svg
CI status/github/{owner}/{repo}/ci.svg
License/github/{owner}/{repo}/license.svg
Discord/discord/{serverId}.svg

Query Parameters

ParamValuesDefault
variantdefault, secondary, outline, ghost, destructivedefault
sizexs, sm, default, lgsm
themezinc, slate, blue, green, rose, ...
modedark, lightdark
splittrue, falsefalse
logoSimpleIcons slug, lucide:name, ri:Name, or falseauto
logoColorhex (no #)
colorhex (no #)
labelColorhex (no #)
labelstringauto
labelOpacity0–10.7
valueColorhex (no #)
labelTextColorhex (no #)