Component recipes

Component recipe · Claude Design source

Card for Claude Design

Split panel content card with generous padding and vertical centering

Component anatomy

Split panel content card with generous padding and vertical centering

{
  "element": "div",
  "baseClasses": [
    "flex flex-col justify-center",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

bg-white text-zinc-900

Dark

bg-black text-white

Accent

bg-gradient-to-br from-purple-600 to-blue-600 text-white

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:opacity-95"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe