Component recipes

Component recipe · Claude Design source

Button for Claude Design

Subtle inline button for timeline node actions

Component anatomy

Subtle inline button for timeline node actions

{
  "element": "button",
  "baseClasses": [
    "font-medium",
    "inline-flex items-center gap-2",
    "transition-colors duration-200"
  ]
}

Variants and parameters

Primary

bg-blue-500 text-white rounded-lg

Secondary

bg-slate-100 text-slate-700 rounded-lg

Outline

bg-transparent text-blue-600 hover:underline

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:bg-blue-600"
  ],
  "active": [
    "active:bg-blue-700"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe