Styles
Visual style variants for badges.
Available styles
| Style | Description |
|---|---|
default | Primary background, bold contrast. The signature shieldcn look. |
secondary | Muted background, subtle appearance. |
outline | Transparent background, visible border, themed text colors. |
ghost | Transparent background, no border. |
destructive | Red/danger styling for error states. |
branded | Uses the logo's brand color as background (e.g., Discord blurple, npm red). |
Usage






Combining with themes
Styles and themes compose freely:


Branded variant
The branded variant automatically uses the icon's official brand color as the badge background:



This pulls colors directly from SimpleIcons — Discord gets blurple (#5865F2), npm gets red (#CB3837), etc.