Component recipes

Component recipe · Claude Design source

Button for Claude Design

Seigaiha-patterned button with circuit trace glow and shoji-grid geometry

Component anatomy

Seigaiha-patterned button with circuit trace glow and shoji-grid geometry

{
  "element": "button",
  "baseClasses": [
    "font-sans",
    "font-semibold",
    "tracking-wider",
    "border border-[#1e3a5f]/60",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Primary

bg-[#1e3a5f] text-[#e2e8f0] shadow-[0_0_12px_rgba(30,58,95,0.4)]

Secondary

bg-[#080814] text-[#38bdf8] border-[#38bdf8]/40 shadow-[0_0_10px_rgba(56,189,248,0.2)]

Vermillion

bg-[#c41e3a] text-white border-[#c41e3a]/60 shadow-[0_0_12px_rgba(196,30,58,0.4)]

Kintsugi Gold

bg-[#080814] text-[#c9a227] border-[#c9a227]/40 shadow-[0_0_10px_rgba(201,162,39,0.25)]

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[0_0_20px_rgba(56,189,248,0.4)]",
    "hover:border-[#38bdf8]/60"
  ],
  "active": [
    "active:scale-95"
  ],
  "disabled": [
    "opacity-40 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe