Component recipes

Component recipe · Claude Design source

Card for Claude Design

Clean minimal card with generous whitespace, soft background, and light borders

Component anatomy

Clean minimal card with generous whitespace, soft background, and light borders

{
  "element": "div",
  "baseClasses": [
    "bg-[#faf9f7]",
    "rounded-2xl",
    "border border-[#3d4a5c]/10",
    "shadow-sm",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Default

Blush

border-[#d4a5a5]/20 bg-gradient-to-br from-[#faf9f7] to-[#d4a5a5]/5

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-md",
    "hover:border-[#3d4a5c]/20"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe