Component recipes

Component recipe · Claude Design source

Card for Claude Design

High contrast card with bold borders and optical patterns

Component anatomy

High contrast card with bold borders and optical patterns

{
  "element": "div",
  "baseClasses": [
    "bg-[#ffffff]",
    "border-4 border-[#000000]",
    "rounded-none",
    "shadow-[6px_6px_0_#000000]"
  ]
}

Variants and parameters

Default

Inverted

bg-[#000000] text-[#ffffff] border-[#ffffff]

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-[8px_8px_0_#ff3300]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe