className strings conditionally.[!IMPORTANT] Quick usage: You can start using badges immediately without setting up the project! Just visit newshields.vercel.app/create to generate your custom badges and copy the Markdown.
To run the project locally and customize it, follow the steps below.
You will need:
git clone [email protected]:your_username/newshields.git
pnpm install
pnpm dev
Deploy to Vercel:
pnpm build
Or use the Vercel CLI:
vercel --prod
GET /api/badge.svg?label={label}&title={title}&icon={icon}&theme={theme}
| Param | Description | Example |
|---|---|---|
label |
Left side text | Powered+by |
title |
Right side text | Svelte+5 |
icon |
Icon ID from SVGL | svelte, react, typescript |
theme |
Color theme | sunset, ocean, midnight |

| Theme | Preview |
|---|---|
aurora |
Green-purple gradient |
sunset |
Orange-pink gradient |
midnight |
Deep blue-purple |
forest |
Emerald gradient |
ocean |
Cyan-blue gradient |
ember |
Red-orange gradient |
graphite |
Gray neutral |
plasma |
Purple-pink glow |
MIT © 2026 Kevin Cheni