Component recipes

Component recipe · Claude Design source

Card for Claude Design

Stackable card with rounded corners and layered shadow for depth effect

Component anatomy

Stackable card with rounded corners and layered shadow for depth effect

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

Variants and parameters

Default

shadow-xl

Stacked

shadow-2xl

Ghost

bg-white/80 backdrop-blur-sm shadow-lg

Padding

select · 3 options

Interactive

boolean

Interaction states

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

Related base style

Fixed-version source · reviewed before publishingNext component recipe