Component recipes

Component recipe · Claude Design source

Card for Claude Design

Vintage card with parchment background and decorative borders

Component anatomy

Vintage card with parchment background and decorative borders

{
  "element": "div",
  "baseClasses": [
    "bg-[#f5e6d3]",
    "border-2 border-[#8b4513]",
    "relative",
    "transition-colors duration-200"
  ]
}

Variants and parameters

Default

Ornate

border-4 border-double border-[#8b4513]

Dark

bg-[#5c2e0a] text-[#f5e6d3] border-[#d4a373]

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:bg-[#efe0d0]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe