Component recipes

Component recipe · Claude Design source

Card for Claude Design

Warm sand-toned card with soft clay shadow, warm hairline border, and organic decorative dot accent

Component anatomy

Warm sand-toned card with soft clay shadow, warm hairline border, and organic decorative dot accent

{
  "element": "div",
  "baseClasses": [
    "bg-[#E8DED1]",
    "rounded-lg",
    "shadow-[0_4px_20px_-4px_rgba(45,42,36,0.10)]",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

Elevated

shadow-[0_8px_30px_-6px_rgba(45,42,36,0.12)]

Clay

bg-[#D4BFA5] border border-[#D4BFA5]/60

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[0_8px_30px_-6px_rgba(45,42,36,0.18)]",
    "hover:-translate-y-0.5"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe