Component recipes

Component recipe · Claude Design source

Card for Claude Design

Soft brutalist card with light gray shadows and pastel hover accents

Component anatomy

Soft brutalist card with light gray shadows and pastel hover accents

{
  "element": "div",
  "baseClasses": [
    "bg-white",
    "border-2 border-gray-800",
    "rounded-none",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

shadow-[4px_4px_0px_0px_rgba(0,0,0,0.15)] md:shadow-[6px_6px_0px_0px_rgba(0,0,0,0.15)]

Pink Accent

shadow-[4px_4px_0px_0px_rgba(244,114,182,0.4)] md:shadow-[6px_6px_0px_0px_rgba(244,114,182,0.4)]

Sky Accent

shadow-[4px_4px_0px_0px_rgba(56,189,248,0.4)] md:shadow-[6px_6px_0px_0px_rgba(56,189,248,0.4)]

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[6px_6px_0px_0px_rgba(244,114,182,0.4)]",
    "md:hover:shadow-[8px_8px_0px_0px_rgba(244,114,182,0.4)]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe