Component recipes

Component recipe · Claude Design source

Card for Claude Design

Maximalist card with bold gradients, heavy borders, and dramatic shadow effects

Component anatomy

Maximalist card with bold gradients, heavy borders, and dramatic shadow effects

{
  "element": "div",
  "baseClasses": [
    "bg-[#1a0a2e]",
    "rounded-2xl",
    "border-4 border-[#ffbe0b]",
    "shadow-2xl shadow-[#d4145a]/30",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Default

Gradient

bg-gradient-to-br from-[#1a0a2e] via-[#d4145a]/20 to-[#3a86ff]/20 border-[#8338ec]

Gold

border-[#ffbe0b] bg-gradient-to-br from-[#1a0a2e] to-[#ffbe0b]/15

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-[0_0_40px_rgba(212,20,90,0.4)]",
    "hover:border-[#d4145a]",
    "hover:-translate-y-1"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe