Component recipes

Component recipe · Claude Design source

Card for Claude Design

Parchment card with gold-leafed borders and manuscript-style ornamentation

Component anatomy

Parchment card with gold-leafed borders and manuscript-style ornamentation

{
  "element": "div",
  "baseClasses": [
    "bg-[#f0e6d0]",
    "rounded-sm",
    "border-2 border-[#c9a74e]/60",
    "shadow-lg",
    "font-serif",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Default

Illuminated

border-[#c9a74e] bg-gradient-to-br from-[#f0e6d0] to-[#c9a74e]/15

Crimson

border-[#8b1a1a]/60 bg-gradient-to-br from-[#f0e6d0] to-[#8b1a1a]/10

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-xl",
    "hover:border-[#c9a74e]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe