Component recipe · Claude Design source
Card for Claude Design
Liquid glass card with multi-layer depth, edge refraction and top highlight gradient
Component anatomy
Liquid glass card with multi-layer depth, edge refraction and top highlight gradient
{
"element": "div",
"baseClasses": [
"bg-white/20",
"backdrop-blur-3xl backdrop-saturate-150",
"rounded-3xl",
"border border-white/30",
"ring-1 ring-inset ring-white/25",
"shadow-xl shadow-black/10",
"[background-image:linear-gradient(to_bottom,rgba(255,255,255,0.15),transparent)]",
"transition-all duration-300 ease-out"
]
}Variants and parameters
Default
Light
bg-white/30 ring-white/30
Dark
bg-black/20 border-white/20 ring-white/15
Accent
bg-[#007AFF]/20 border-[#007AFF]/30 ring-[#007AFF]/20
Padding
select · 3 options
Interactive
boolean
Interaction states
{
"hover": [
"hover:bg-white/25",
"hover:ring-white/35",
"hover:shadow-2xl hover:shadow-black/15"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe