NBA team fan badges with team logos and team colors.
Show which NBA team you support with a fan badge that renders the team logo next to the badge text.
| Badge | Endpoint | Description |
|---|---|---|
| NBA champs | /nba | Default “2026 champs / Knicks” badge using the branded Knicks color |
| NBA team | /nba/{team} | Fan badge with NBA team name, logo, and team color |
{team} accepts common team slugs, names, abbreviations, and nicknames. For example, knicks, ny, new-york-knicks, and celtics all resolve to a team badge. Omit {team} for the default “2026 champs / Knicks” badge.
Path Parameters
Team slug, abbreviation, city, or nickname.
<picture><source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/nba/knicks.svg?mode=dark"><img alt="badge" src="https://shieldcn.dev/nba/knicks.svg?mode=light"></picture>
Use lowercase team names with spaces replaced by dashes, a team abbreviation, or a common nickname:
/nba/knicks, /nba/ny, /nba/new-york-knicks/nba/celtics, /nba/bos, /nba/boston/nba/warriors, /nba/gs, /nba/golden-state-warriors/nba/lakers, /nba/lal, /nba/los-angeles-lakers/nba/sixers, /nba/phi, /nba/76ersUnknown teams return a readable error badge instead of a broken image.
All standard badge query params apply (variant, size, mode, font, label, colors, etc.). The branded variant uses the resolved team's primary color.
Override the label while keeping the Knicks logo and team color.
Outline badges stay readable in light mode while preserving the full-color team logo.
Team names, aliases, and primary colors are resolved from a static NBA team map. Team logo images are fetched from ESPN's public team logo CDN and cached for 24 hours. No API key required.