Component recipes

Component recipe · Claude Design source

Ribbon Badge for Claude Design

Elegant ribbon-shaped badge with Victorian styling

Component anatomy

Elegant ribbon-shaped badge with Victorian styling

{
  "element": "div",
  "baseClasses": [
    "inline-flex items-center",
    "px-4 py-1",
    "bg-[#4a1a4a]",
    "text-[#e5e5e5]",
    "font-serif text-sm",
    "relative"
  ]
}

Variants and parameters

Default

bg-[#4a1a4a]

Rose

bg-[#8b1a2a]

Silver

bg-[#e5e5e5]/20 border border-[#e5e5e5]/40

Visible

boolean

Interaction states

{}

Related base style

Fixed-version source · reviewed before publishingNext component recipe