Component recipes

Component recipe · Claude Design source

Button for Claude Design

Rounded pill button with warm pumpkin orange CTA and friendly feel

Component anatomy

Rounded pill button with warm pumpkin orange CTA and friendly feel

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

Variants and parameters

Primary

bg-[#e8722a] text-white

Secondary

bg-[#d4e4bc] text-[#2d5016]

Dark

bg-[#2d5016] text-white

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:bg-[#d4641f]"
  ],
  "active": [
    "active:scale-95"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe