Component recipe · Claude Design source
Button for Claude Design
High contrast black/white button with optical illusion patterns
Component anatomy
High contrast black/white button with optical illusion patterns
{
"element": "button",
"baseClasses": [
"font-sans",
"font-extrabold",
"uppercase",
"tracking-wider",
"rounded-none",
"border-4 border-[#000000]",
"transition-all duration-100"
]
}Variants and parameters
Primary
bg-[#000000] text-[#ffffff]
Secondary
bg-[#ffffff] text-[#000000]
Accent
bg-[#ff3300] text-[#ffffff] border-[#ff3300]
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:invert"
],
"active": [
"active:scale-95"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe