Component recipes

Component recipe · Claude Design source

Card for Claude Design

Colorful Memphis card with thick border and hard offset shadow

Component anatomy

Colorful Memphis card with thick border and hard offset shadow

{
  "element": "div",
  "baseClasses": [
    "border-4 border-black",
    "relative",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

bg-pink-300 shadow-[8px_8px_0px_#000]

Yellow

bg-yellow-300 shadow-[8px_8px_0px_#000]

Cyan

bg-[#48dbfb] shadow-[8px_8px_0px_#000]

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[10px_10px_0px_#000]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe