Component recipes

Component recipe · Claude Design source

Button for Claude Design

Minimal Notion-style button with no border, subtle hover state and clean typography

Component anatomy

Minimal Notion-style button with no border, subtle hover state and clean typography

{
  "element": "button",
  "baseClasses": [
    "font-medium",
    "text-sm",
    "rounded-md",
    "transition-colors duration-150"
  ]
}

Variants and parameters

Primary

bg-[#2383e2] text-white

Secondary

bg-transparent text-gray-700

Outline

bg-transparent text-gray-700 border border-gray-300

Size

select · 3 options

Full Width

boolean

Interaction states

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

Related base style

Fixed-version source · reviewed before publishingNext component recipe