Component recipes

Component recipe · Claude Design source

Card for Claude Design

Elegant card with gold border accents and warm parchment background

Component anatomy

Elegant card with gold border accents and warm parchment background

{
  "element": "div",
  "baseClasses": [
    "bg-[#f5ecd7]",
    "rounded-lg",
    "border-2 border-[#c9a74e]",
    "shadow-sm",
    "font-serif",
    "transition-shadow duration-200"
  ]
}

Variants and parameters

Default

Ornate

border-4 border-double border-[#c9a74e] shadow-md shadow-[#c9a74e]/20

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-md hover:shadow-[#c9a74e]/20"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe