Component recipes

Component recipe · Claude Design source

Card for Claude Design

Magazine article card with editorial typography and reading-focused layout

Component anatomy

Magazine article card with editorial typography and reading-focused layout

{
  "element": "div",
  "baseClasses": [
    "bg-white",
    "group",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

border-b border-zinc-200

Featured

rounded-xl overflow-hidden shadow-sm

Compact

border-b border-zinc-100

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:bg-zinc-50"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe