Component recipes

Component recipe · Claude Design source

Shield Badge for Claude Design

Heraldic shield-shaped badge for status or labels

Component anatomy

Heraldic shield-shaped badge for status or labels

{
  "element": "div",
  "baseClasses": [
    "inline-flex items-center justify-center",
    "px-4 py-2",
    "bg-[#2d1b4e]",
    "text-[#c9a227]",
    "font-serif uppercase tracking-wider text-sm",
    "clip-path-shield"
  ]
}

Variants and parameters

Purple

bg-[#2d1b4e]

Blood

bg-[#8b1a1a]

Gold

bg-[#c9a227] text-[#0a0a0a]

Visible

boolean

Interaction states

{}

Related base style

Fixed-version source · reviewed before publishingNext component recipe