Component recipes

Component recipe · Claude Design source

Card for Claude Design

Warm card with rounded corners and soft earthy shadow

Component anatomy

Warm card with rounded corners and soft earthy shadow

{
  "element": "div",
  "baseClasses": [
    "bg-[#faf5ef]",
    "rounded-2xl",
    "shadow-md",
    "border border-[#d4a373]/30",
    "transition-shadow duration-200"
  ]
}

Variants and parameters

Default

Bordered

border-2 border-[#b5654a]/40

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-lg"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe