Component recipes

Component recipe · Claude Design source

Button for Claude Design

Ultra-minimal button with no shadows and high contrast

Component anatomy

Ultra-minimal button with no shadows and high contrast

{
  "element": "button",
  "baseClasses": [
    "font-medium",
    "border-2 border-black",
    "transition-colors duration-200"
  ]
}

Variants and parameters

Primary

bg-black text-white

Secondary

bg-white text-black

Outline

bg-transparent text-black

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:bg-white hover:text-black"
  ],
  "active": [
    "active:bg-gray-100"
  ],
  "disabled": [
    "opacity-40 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe