Component recipes

Component recipe · Claude Design source

Card for Claude Design

Full-bleed photo card with a gradient scrim caption

Component anatomy

Full-bleed photo card with a gradient scrim caption

{
  "element": "div",
  "baseClasses": [
    "relative overflow-hidden",
    "rounded-2xl",
    "bg-[#1A1C22]"
  ]
}

Variants and parameters

Photo

Framed

border border-white/15 p-1

Ratio

select · 3 options

Interaction states

{
  "hover": []
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe