Component recipe · Claude Design source
Button for Claude Design
Vibrant festive button with decorative borders and warm celebratory colors
Component anatomy
Vibrant festive button with decorative borders and warm celebratory colors
{
"element": "button",
"baseClasses": [
"font-semibold",
"rounded-lg",
"border-2",
"transition-all duration-300 ease-in-out"
]
}Variants and parameters
Primary
bg-[#e63946] text-white border-[#ff9f1c] shadow-md shadow-[#e63946]/30
Secondary
bg-[#fff8e7] text-[#e63946] border-[#e63946]/40
Accent
bg-[#7b2d8e] text-white border-[#ff9f1c] shadow-md shadow-[#7b2d8e]/30
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:shadow-lg hover:shadow-[#e63946]/40",
"hover:scale-105",
"hover:brightness-110"
],
"active": [
"active:scale-95"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe