# Badge Showcase

> A showcase of badge variants rendered bare on the page — category tags, dot badges, three sizes, and a full named-color palette in solid and dotted styles. Token-driven and dark-mode ready.

- Category: Badge
- Frameworks: Vanilla, React + CSS, React + Tailwind
- Design system: Tensor
- Dark mode: yes
- Access: premium (Atheros AI Pass)
- Tags: tag, pill
- Page: https://builder.atheros.ai/components/badge-showcase
- Preview: https://d17nmjscumqk5d.cloudfront.net/builder/templates/tpl_builder_badge_showcase/preview-540541ad720b.webp

## Features

- Four badge variant groups displayed bare on the page with no wrapping card
- Category tag badges with outline borders and hover feedback
- Dot badges with colored indicator circles for each category
- Small, medium, and large size variants sharing one pill shape
- A full named-color palette rendered in both solid and dotted styles via color-mix
- All badge labels are HTML-escaped to prevent XSS injection
- Fully respects prefers-reduced-motion

## Accessibility

- **Theme toggle** — `role="switch"` with `aria-checked` toggled by JS
- **Keyboard activation** — Theme toggle responds to Enter and Space keys
- **Focus indicators** — `:focus-visible` with `--ring` outline on interactive elements
- **XSS-safe labels** — `esc()` HTML-escapes all badge label text
- **Reduced motion** — `prefers-reduced-motion: reduce` disables all animations and transitions

## Keyboard shortcuts

- `Enter` — Activate the focused theme toggle
- `Space` — Activate the focused theme toggle
- `Tab` — Move focus to the theme toggle

## Common questions

**Which frameworks is Badge Showcase available in?**

Badge Showcase ships as Vanilla, React + CSS and React + Tailwind — HTML, CSS, JS and React source you can copy, download or clone into Atheros AI Builder.

**Is Badge Showcase free?**

Badge Showcase is a premium component. Anyone can preview it; the source, downloads and AI customisation are included with Atheros AI Pass.

**Does Badge Showcase support dark mode?**

Yes. Badge Showcase ships light and dark themes, both drawn from the Tensor design system's tokens. Switch the preview to dark mode to compare them.

## Get the code

Preview Badge Showcase live, then sign in to copy or download the source, apply another design system, or ask the AI assistant to change it: https://builder.atheros.ai/components/badge-showcase

Every component on https://builder.atheros.ai is also reachable from Claude Code, Cursor and Codex through the Atheros MCP server (paid plans). Component index: https://builder.atheros.ai/llms-components.txt
