Component recipes

Component recipe · Claude Design source

Card for Claude Design

Notebook-paper card with dashed border, marker shadow, and pushpin/tape decorations

Component anatomy

Notebook-paper card with dashed border, marker shadow, and pushpin/tape decorations

{
  "element": "div",
  "baseClasses": [
    "bg-[#fffef5]",
    "rounded-sm",
    "border-2 border-dashed border-[#2c2c2c]",
    "shadow-[4px_4px_0px_#4ecdc4]",
    "transition-all duration-200 ease-in-out"
  ]
}

Variants and parameters

Default

Red Marker

shadow-[4px_4px_0px_#ff6b6b]

Yellow Marker

shadow-[4px_4px_0px_#ffd93d]

Teal Marker

shadow-[4px_4px_0px_#4ecdc4]

Padding

select · 3 options

Interactive

boolean

Tilted

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[6px_6px_0px_#4ecdc4]",
    "hover:rotate-[0.5deg]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe