Component recipes

Component recipe · Claude Design source

Button for Claude Design

High contrast button for split screen layouts with bold styling

Component anatomy

High contrast button for split screen layouts with bold styling

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

Variants and parameters

Primary

bg-black text-white

Secondary

bg-white text-black border-2 border-black

Outline

bg-transparent text-black border-2 border-zinc-300

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:bg-zinc-800"
  ],
  "active": [
    "active:bg-zinc-900"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe