Component recipes

Component recipe · Claude Design source

Button for Claude Design

Minimal transparent or amber-accented button for dark gallery interfaces

Component anatomy

Minimal transparent or amber-accented button for dark gallery interfaces

{
  "element": "button",
  "baseClasses": [
    "font-sans",
    "text-xs",
    "tracking-[0.15em]",
    "transition-colors duration-200"
  ]
}

Variants and parameters

Ghost

bg-transparent text-[#666666] hover:text-white

Variant

select · 3 options

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:text-white",
    "hover:opacity-80"
  ],
  "disabled": [
    "opacity-30 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe