Component recipes

Component recipe · Claude Design source

Badge for Claude Design

Dashed border badge with star decorations

Component anatomy

Dashed border badge with star decorations

{
  "element": "div",
  "baseClasses": [
    "inline-flex items-center gap-2",
    "px-4 py-2",
    "border-2 border-dashed",
    "rounded-full",
    "text-sm font-medium"
  ]
}

Variants and parameters

Yellow

border-yellow-400 text-yellow-400

Cyan

border-cyan-400 text-cyan-400

Pink

border-pink-400 text-pink-400

Size

select · 3 options

Interaction states

{}

Related base style

Fixed-version source · reviewed before publishingNext component recipe