Component recipe · Claude Design source
Card for Claude Design
Textured surface card with gradient background and realistic depth shadows
Component anatomy
Textured surface card with gradient background and realistic depth shadows
{
"element": "div",
"baseClasses": [
"bg-gradient-to-b from-[#e8dfd1] to-[#d4c4a8]",
"rounded-lg",
"border border-[#a89880]",
"shadow-[0_3px_6px_rgba(0,0,0,0.16),0_3px_6px_rgba(0,0,0,0.23)]",
"transition-all duration-200 ease-out"
]
}Variants and parameters
Default
Raised
shadow-[0_10px_20px_rgba(0,0,0,0.19),0_6px_6px_rgba(0,0,0,0.23)]
Inset
shadow-[inset_0_2px_6px_rgba(0,0,0,0.15)] bg-gradient-to-b from-[#d4c4a8] to-[#e8dfd1]
Padding
select · 3 options
Interactive
boolean
Interaction states
{
"hover": [
"hover:shadow-[0_14px_28px_rgba(0,0,0,0.25),0_10px_10px_rgba(0,0,0,0.22)]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe