Component recipes

Component recipe · Claude Design source

Card for Claude Design

Festive card with warm background, decorative gold-toned borders, and celebratory energy

Component anatomy

Festive card with warm background, decorative gold-toned borders, and celebratory energy

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

Variants and parameters

Default

Royal

border-[#7b2d8e]/60 bg-gradient-to-br from-[#fff8e7] to-[#7b2d8e]/10

Marigold

border-[#ff9f1c] bg-gradient-to-br from-[#fff8e7] to-[#ff9f1c]/15

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-lg",
    "hover:border-[#ff9f1c]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe