Component recipes

Component recipe · Claude Design source

Card for Claude Design

Comic-style card with thick border, hard shadow, and optional Ben-Day dot background

Component anatomy

Comic-style card with thick border, hard shadow, and optional Ben-Day dot background

{
  "element": "div",
  "baseClasses": [
    "bg-white",
    "border-4 border-black",
    "rounded-lg",
    "transition-all duration-150"
  ]
}

Variants and parameters

Default

shadow-[6px_6px_0_#000]

Pink

bg-[#ff69b4] text-white shadow-[6px_6px_0_#000]

Blue

bg-[#00bfff] text-white shadow-[6px_6px_0_#000]

Padding

select · 3 options

Interactive

boolean

Interaction states

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

Related base style

Fixed-version source · reviewed before publishingNext component recipe