Component recipes

Component recipe · Claude Design source

Card for Claude Design

Warm scholarly card with parchment tones and subtle borders

Component anatomy

Warm scholarly card with parchment tones and subtle borders

{
  "element": "div",
  "baseClasses": [
    "bg-[#f5f0e1]",
    "rounded",
    "border border-[#8b7355]/30",
    "shadow-sm",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Default

Dark

bg-[#3d2b1f] text-[#f5f0e1] border-[#8b7355]/40

Green

bg-[#2d4a3e] text-[#f5f0e1] border-[#2d4a3e]/40

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:shadow-md",
    "hover:border-[#8b7355]/50"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe