Component recipe · Claude Design source
Button for Claude Design
Mystical button with gold accents and deep purple tones
Component anatomy
Mystical button with gold accents and deep purple tones
{
"element": "button",
"baseClasses": [
"font-serif",
"font-semibold",
"tracking-wide",
"rounded-sm",
"border",
"transition-all duration-300"
]
}Variants and parameters
Primary
bg-[#4a1942] text-[#c9a74e] border-[#c9a74e]/50 shadow-[0_0_12px_rgba(201,167,78,0.3)]
Secondary
bg-[#0d0b14] text-[#7b68ae] border-[#7b68ae]/40 shadow-[0_0_10px_rgba(123,104,174,0.2)]
Outline
bg-transparent text-[#c9a74e] border-[#c9a74e]/60
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:shadow-[0_0_24px_rgba(201,167,78,0.5)]",
"hover:scale-105",
"hover:border-[#c9a74e]"
],
"active": [
"active:scale-[0.97]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe