Component recipes

Component recipe · Claude Design source

Card for Claude Design

Premium card with warm marble background, thin gold border, and refined spacing

Component anatomy

Premium card with warm marble background, thin gold border, and refined spacing

{
  "element": "div",
  "baseClasses": [
    "bg-[#f8f6f3]",
    "border border-[#c9a96e]/30",
    "rounded-sm",
    "text-[#1a1a1a]",
    "font-serif",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

shadow-sm

Elevated

shadow-lg border-[#c9a96e]/50

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-lg",
    "hover:border-[#c9a96e]/60"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe