Component recipes

Component recipe · Claude Design source

Button for Claude Design

Editorial serif link-button with a brick underline sweep

Component anatomy

Editorial serif link-button with a brick underline sweep

{
  "element": "button",
  "baseClasses": [
    "group inline-flex items-center gap-2",
    "font-serif",
    "rounded-none",
    "transition-colors duration-300 ease-out",
    "active:opacity-80"
  ]
}

Variants and parameters

Primary

bg-[#1A1712] text-[#F5F0E6] px-6 py-3 hover:bg-[#B3401F]

Link

text-[#1A1712] hover:text-[#B3401F]

Quiet

text-[#1A1712]/60 hover:text-[#1A1712]

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": []
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe