Component recipes

Component recipe · Claude Design source

Button for Claude Design

Intentionally chaotic button breaking design rules

Component anatomy

Intentionally chaotic button breaking design rules

{
  "element": "button",
  "baseClasses": [
    "font-mono",
    "font-black",
    "uppercase",
    "rounded-none",
    "transition-all duration-100"
  ]
}

Variants and parameters

Primary

bg-[#FF0000] text-white border-4 border-black

Yellow

bg-[#FFFF00] text-black border-4 border-black

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:rotate-1 hover:scale-105"
  ],
  "active": [
    "active:scale-95"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe