Component recipe · Claude Design source
Button for Claude Design
Liquid glass button with edge highlight, saturation boost and fluid transition
Component anatomy
Liquid glass button with edge highlight, saturation boost and fluid transition
{
"element": "button",
"baseClasses": [
"font-medium",
"backdrop-blur-2xl backdrop-saturate-150",
"rounded-2xl",
"border border-white/40",
"ring-1 ring-inset ring-white/20",
"transition-all duration-300 ease-out"
]
}Variants and parameters
Primary
bg-white/25 text-white shadow-lg shadow-black/5
Secondary
bg-white/15 text-white shadow-md shadow-black/5
Accent
bg-[#007AFF]/30 text-white shadow-lg shadow-[#007AFF]/20
Outline
bg-transparent text-white border-white/50 ring-white/30
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:bg-white/35",
"hover:ring-white/30",
"hover:shadow-xl hover:shadow-black/10"
],
"active": [
"active:scale-[0.98]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe