Component recipes

Component recipe · Claude Design source

Card for Claude Design

Print-aesthetic card with overprint offset shadow and grain texture feel

Component anatomy

Print-aesthetic card with overprint offset shadow and grain texture feel

{
  "element": "div",
  "baseClasses": [
    "bg-[#fffbf0]",
    "rounded-sm",
    "border-2 border-[#1a1a1a]",
    "shadow-[4px_4px_0px_#ff6b9d]",
    "transition-all duration-200 ease-in-out"
  ]
}

Variants and parameters

Default

Blue

shadow-[4px_4px_0px_#2563eb]

Green

shadow-[4px_4px_0px_#22c55e]

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[6px_6px_0px_#ff6b9d]",
    "hover:border-[#ff6b9d]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe