Component recipes

Component recipe · Claude Design source

Button for Claude Design

Professional left-aligned button with blue accent for scan-optimized layouts

Component anatomy

Professional left-aligned button with blue accent for scan-optimized layouts

{
  "element": "button",
  "baseClasses": [
    "font-medium",
    "rounded-lg",
    "transition-colors duration-200"
  ]
}

Variants and parameters

Primary

bg-[#e63946] text-white

Secondary

bg-[#457b9d] text-white

Outline

bg-transparent text-[#1a1a2e] border border-gray-200

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:bg-[#c1121f]"
  ],
  "active": [
    "active:bg-[#a40e19]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe