Component recipes

Component recipe · Claude Design source

Card for Claude Design

Woodblock print style card with strong outlines and flat color areas

Component anatomy

Woodblock print style card with strong outlines and flat color areas

{
  "element": "div",
  "baseClasses": [
    "bg-[#f5f0e1]",
    "rounded-sm",
    "border-2 border-[#1a3055]",
    "shadow-[4px_4px_0px_#1a3055]",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Default

Vermilion

border-[#d4553a] shadow-[4px_4px_0px_#d4553a]

Gold

border-[#c9a227] shadow-[4px_4px_0px_#c9a227]

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[6px_6px_0px_#1a3055]",
    "hover:border-[#d4553a]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe