Component recipes

Component recipe · Claude Design source

Card for Claude Design

Product card with image area, title, and pricing

Component anatomy

Product card with image area, title, and pricing

{
  "element": "div",
  "baseClasses": [
    "bg-white",
    "rounded-lg",
    "border border-[#e3e3e3]",
    "overflow-hidden",
    "transition-shadow duration-200"
  ]
}

Variants and parameters

Default

Elevated

shadow-sm border-transparent

Minimal

border-transparent shadow-none

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:shadow-md"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe