Component recipes

Component recipe · Claude Design source

Card for Claude Design

Dark gothic card with mystical border glow and elegant serif typography

Component anatomy

Dark gothic card with mystical border glow and elegant serif typography

{
  "element": "div",
  "baseClasses": [
    "bg-[#0d0b14]",
    "border border-[#4a1942]/60",
    "rounded-sm",
    "font-serif",
    "text-[#c9a74e]/90",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

shadow-[0_0_15px_rgba(74,25,66,0.4)]

Golden

border-[#c9a74e]/40 shadow-[0_0_15px_rgba(201,167,78,0.2)]

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-[0_0_25px_rgba(74,25,66,0.6)]",
    "hover:border-[#4a1942]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe