Component recipe · Claude Design source
Button for Claude Design
Dreamlike button with surreal color shifts and unexpected visual combinations
Component anatomy
Dreamlike button with surreal color shifts and unexpected visual combinations
{
"element": "button",
"baseClasses": [
"font-serif",
"italic",
"tracking-wide",
"rounded-lg",
"transition-all duration-500 ease-in-out"
]
}Variants and parameters
Primary
bg-gradient-to-r from-[#1a1a3e] to-[#c38d94] text-[#f0ece4] border border-[#d4a574]/50 shadow-lg
Secondary
bg-[#d4a574]/20 text-[#1a1a3e] border border-[#1a1a3e]/30
Outline
bg-transparent text-[#c38d94] border-2 border-[#c38d94]/50
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:shadow-[0_8px_30px_rgba(195,141,148,0.4)]",
"hover:scale-105"
],
"active": [
"active:scale-95"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe