Component recipes

Component recipe · Claude Design source

Card for Claude Design

Warm tropical card with soft rounded corners, sunny background, and colorful accents

Component anatomy

Warm tropical card with soft rounded corners, sunny background, and colorful accents

{
  "element": "div",
  "baseClasses": [
    "bg-[#fffde7]",
    "border border-[#00897b]/20",
    "rounded-2xl",
    "text-[#1a1a1a]",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

shadow-md

Coral

border-[#ff6f61]/30 shadow-lg shadow-[#ff6f61]/10

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-xl",
    "hover:-translate-y-1"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe