Component recipes

Component recipe · Claude Design source

Misprint Card for Claude Design

Card with slight misprint offset aesthetic and riso texture

Component anatomy

Card with slight misprint offset aesthetic and riso texture

{
  "element": "div",
  "baseClasses": [
    "bg-[#fffbf0]",
    "rounded-sm",
    "border-2 border-[#1a1a1a]",
    "relative",
    "transition-all duration-200 ease-in-out"
  ]
}

Variants and parameters

Default

shadow-[4px_4px_0px_#ff6b9d,-2px_-2px_0px_#2563eb]

Heavy

shadow-[6px_6px_0px_#ff6b9d,-4px_-4px_0px_#2563eb]

Subtle

shadow-[2px_2px_0px_#ff6b9d,-1px_-1px_0px_#2563eb]

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-[6px_6px_0px_#ff6b9d,-3px_-3px_0px_#2563eb]",
    "hover:-translate-y-1"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe