Component recipes

Component recipe · Claude Design source

Brass Panel for Claude Design

Panel with brass/copper frame and rivets in Victorian industrial style

Component anatomy

Panel with brass/copper frame and rivets in Victorian industrial style

{
  "element": "div",
  "baseClasses": [
    "bg-[#2a1f15]",
    "border-2 border-[#b87333]/40",
    "rounded",
    "relative",
    "overflow-hidden",
    "font-serif",
    "shadow-[inset_8px_8px_0_-6px_#b87333,inset_-8px_-8px_0_-6px_#b87333,inset_8px_-8px_0_-6px_#b87333,inset_-8px_8px_0_-6px_#b87333]",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

border-[#b87333]/40 shadow-[0_0_15px_rgba(184,115,51,0.15),inset_0_1px_0_rgba(255,255,255,0.05)]

Aged

bg-[#1a1510] border-[#b87333]/25 shadow-[0_0_10px_rgba(184,115,51,0.1),inset_0_0_20px_rgba(0,0,0,0.3)]

Polished

border-[#b5a642]/50 shadow-[0_0_20px_rgba(181,166,66,0.2),inset_0_1px_0_rgba(255,255,255,0.1)]

Padding

select · 3 options

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