Component recipes

Component recipe · Claude Design source

Card for Claude Design

Armored panel card with angular design, tech borders and military color scheme

Component anatomy

Armored panel card with angular design, tech borders and military color scheme

{
  "element": "div",
  "baseClasses": [
    "bg-[#1a2744]",
    "rounded-none",
    "border-2 border-[#4a5c3a]",
    "shadow-[4px_4px_0px_rgba(251,191,36,0.3)]",
    "transition-all duration-200 ease-in-out"
  ]
}

Variants and parameters

Default

Warning

border-[#fbbf24] shadow-[4px_4px_0px_rgba(239,68,68,0.4)]

Danger

border-[#ef4444] shadow-[4px_4px_0px_rgba(239,68,68,0.5)]

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[6px_6px_0px_rgba(251,191,36,0.5)]",
    "hover:border-[#fbbf24]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe