Component recipes

Component recipe · Claude Design source

Card for Claude Design

Dark elegant card with gold border accents and serif typography

Component anatomy

Dark elegant card with gold border accents and serif typography

{
  "element": "div",
  "baseClasses": [
    "bg-gray-900",
    "border border-[#D4AF37]/50",
    "relative",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

Gold Border

border-2 border-[#D4AF37]

Gradient

bg-gradient-to-b from-gray-900 to-gray-800

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:border-[#D4AF37]",
    "hover:shadow-[0_0_20px_rgba(212,175,55,0.15)]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe