Component recipes

Component recipe · Claude Design source

Card for Claude Design

Material Design card with layered shadow and clean white background

Component anatomy

Material Design card with layered shadow and clean white background

{
  "element": "div",
  "baseClasses": [
    "bg-white",
    "rounded-xl",
    "transition-shadow duration-300"
  ]
}

Variants and parameters

Default

shadow-md

Elevated

shadow-lg

Outlined

shadow-none border border-gray-200

Padding

select · 3 options

Interactive

boolean

Interaction states

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

Related base style

Fixed-version source · reviewed before publishingNext component recipe