Component recipes

Component recipe · Claude Design source

Button for Claude Design

Bold angular button with propaganda poster aesthetic

Component anatomy

Bold angular button with propaganda poster aesthetic

{
  "element": "button",
  "baseClasses": [
    "font-sans",
    "font-black",
    "uppercase",
    "tracking-widest",
    "rounded-none",
    "skew-x-[-2deg]",
    "border-3 border-[#1a1a1a]",
    "transition-all duration-150"
  ]
}

Variants and parameters

Primary

bg-[#cc0000] text-[#f2e8d5]

Secondary

bg-[#1a1a1a] text-[#f2e8d5]

Outline

bg-[#f2e8d5] text-[#cc0000]

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:skew-x-0 hover:scale-105"
  ],
  "active": [
    "active:scale-95"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe