Component recipes

Component recipe · Claude Design source

Card for Claude Design

Dark moody card with pastel-goth accents and ethereal shadow effects

Component anatomy

Dark moody card with pastel-goth accents and ethereal shadow effects

{
  "element": "div",
  "baseClasses": [
    "bg-[#1a1225]",
    "rounded-xl",
    "border border-[#d4a5e3]/20",
    "shadow-lg shadow-[#2d1b3d]/50",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Default

Lavender

border-[#d4a5e3]/30 bg-gradient-to-br from-[#1a1225] to-[#d4a5e3]/10

Teal

border-[#7ec8c8]/30 bg-gradient-to-br from-[#1a1225] to-[#7ec8c8]/10

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-xl hover:shadow-[#d4a5e3]/20",
    "hover:border-[#d4a5e3]/40"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe