Component recipes

Component recipe · Claude Design source

Button for Claude Design

Hexagon-bordered button with golden glow radiation hover effect

Component anatomy

Hexagon-bordered button with golden glow radiation hover effect

{
  "element": "button",
  "baseClasses": [
    "font-serif",
    "font-semibold",
    "tracking-wide",
    "border border-[#fbbf24]/30",
    "rounded-sm",
    "transition-all duration-500 ease-in-out"
  ]
}

Variants and parameters

Primary

bg-[#1e1b4b] text-[#fbbf24] shadow-[0_0_20px_rgba(251,191,36,0.2)]

Secondary

bg-[#0a0920] text-[#e2e8f0] border-[#818cf8]/30 shadow-[0_0_15px_rgba(129,140,248,0.2)]

Gold

bg-gradient-to-r from-[#fbbf24] to-[#f59e0b] text-[#0a0920] border-[#fbbf24]/60 shadow-[0_0_20px_rgba(251,191,36,0.3)]

Runic

bg-[#0a0920] text-[#fbbf24] border-[#fbbf24]/20 shadow-[0_0_15px_rgba(251,191,36,0.15)] font-mono tracking-widest

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[0_0_35px_rgba(251,191,36,0.5)]",
    "hover:border-[#fbbf24]/60"
  ],
  "active": [
    "active:scale-95"
  ],
  "disabled": [
    "opacity-40 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe