Component recipes

Component recipe · Claude Design source

Card for Claude Design

Dark panel with copper border, corner rivets and Victorian industrial aesthetic

Component anatomy

Dark panel with copper border, corner rivets and Victorian industrial aesthetic

{
  "element": "div",
  "baseClasses": [
    "bg-[#2a1f15]",
    "border-2 border-[#b87333]/40",
    "rounded",
    "transition-all duration-300",
    "relative overflow-hidden"
  ]
}

Variants and parameters

Default

shadow-[0_0_15px_rgba(184,115,51,0.15)]

Brass

border-[#b5a642]/40 shadow-[0_0_15px_rgba(181,166,66,0.2)]

Iron

bg-[#1a1a1a] border-[#4a4a4a]/50 shadow-[0_2px_8px_rgba(0,0,0,0.4)]

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[0_0_25px_rgba(184,115,51,0.3)]",
    "hover:border-[#b87333]/60"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe