Component recipes

Component recipe · Claude Design source

Card for Claude Design

Warm cottagecore card with linen-like background and floral border accents

Component anatomy

Warm cottagecore card with linen-like background and floral border accents

{
  "element": "div",
  "baseClasses": [
    "bg-[#faf6f0]",
    "rounded-2xl",
    "border border-[#d4a0a0]/40",
    "shadow-md",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Default

Floral

border-[#d4a0a0]/60 bg-gradient-to-br from-[#faf6f0] to-[#f5d75f]/10

Earthy

border-[#8b7355]/40 bg-gradient-to-br from-[#faf6f0] to-[#8b7355]/10

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:shadow-lg",
    "hover:border-[#d4a0a0]/60"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe