Component recipes

Component recipe · Claude Design source

Card for Claude Design

Vintage card with parchment background, ornate double borders, and botanical styling

Component anatomy

Vintage card with parchment background, ornate double borders, and botanical styling

{
  "element": "div",
  "baseClasses": [
    "bg-[#faf5ef]",
    "border-2 border-[#2d4a2d]/40",
    "rounded-sm",
    "text-[#2d4a2d]",
    "font-serif",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

shadow-sm

Ornate

border-double border-4 border-[#8b6914]/50 shadow-md

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-md",
    "hover:border-[#8b6914]/60"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe