Component recipes

Component recipe · Claude Design source

Card for Claude Design

Clean card with subtle border, white background, and minimal shadow like GitHub panels

Component anatomy

Clean card with subtle border, white background, and minimal shadow like GitHub panels

{
  "element": "div",
  "baseClasses": [
    "bg-white",
    "border border-[#d0d7de]",
    "rounded-md",
    "text-[#24292f]",
    "transition-all duration-150"
  ]
}

Variants and parameters

Default

Muted

bg-[#f6f8fa]

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:border-[#0969da]/40"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe