Component recipe · Claude Design source
Button for Claude Design
Outlined border button that inverts on hover for restrained luxury feel
Component anatomy
Outlined border button that inverts on hover for restrained luxury feel
{
"element": "button",
"baseClasses": [
"font-light",
"tracking-[0.2em]",
"uppercase",
"rounded-sm",
"transition-all duration-300"
]
}Variants and parameters
Outlined
border border-[#1a1a1a] text-[#1a1a1a] bg-transparent
Gold Outlined
border border-[#c9a96e] text-[#c9a96e] bg-transparent
Filled
bg-[#1a1a1a] text-[#faf9f6] border border-[#1a1a1a]
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:bg-[#1a1a1a] hover:text-[#faf9f6]"
],
"active": [
"active:opacity-80"
],
"disabled": [
"opacity-40 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe