Component recipes

Component recipe · Claude Design source

Overprint Badge for Claude Design

Badge with overprint/misregistration effect and riso color palette

Component anatomy

Badge with overprint/misregistration effect and riso color palette

{
  "element": "div",
  "baseClasses": [
    "inline-flex items-center justify-center",
    "font-mono font-bold uppercase tracking-wider",
    "rounded-sm",
    "relative",
    "transition-all duration-200 ease-in-out"
  ]
}

Variants and parameters

Pink

bg-[#ff6b9d] text-white shadow-[3px_3px_0px_#2563eb]

Blue

bg-[#2563eb] text-white shadow-[3px_3px_0px_#ff6b9d]

Orange

bg-[#f97316] text-white shadow-[3px_3px_0px_#2563eb]

Size

select · 3 options

Interaction states

{
  "hover": [
    "hover:translate-x-[2px] hover:translate-y-[2px]",
    "hover:shadow-[1px_1px_0px_#2563eb]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe