Component recipes

Component recipe · Claude Design source

Card for Claude Design

Bento-style card with clean borders and subtle shadow

Component anatomy

Bento-style card with clean borders and subtle shadow

{
  "element": "div",
  "baseClasses": [
    "bg-white",
    "rounded-2xl",
    "border border-zinc-100",
    "shadow-sm",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

Gradient

bg-gradient-to-br from-blue-500 to-purple-600 text-white border-transparent

Muted

bg-zinc-50 border-zinc-100

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:shadow-md",
    "hover:border-zinc-200"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe