Component recipe · Claude Design source
Card for Claude Design
Rounded card with colorful shadow and playful hover animation
Component anatomy
Rounded card with colorful shadow and playful hover animation
{
"element": "div",
"baseClasses": [
"rounded-3xl",
"transition-all duration-300"
]
}Variants and parameters
White
bg-white border-2 border-[#ff006e]/20 shadow-[0_8px_30px_rgba(255,0,110,0.15)] hover:shadow-[0_12px_40px_rgba(131,56,236,0.25)]
Gradient
bg-gradient-to-br from-[#8338ec] to-[#3a86ff] text-white shadow-[0_16px_50px_rgba(131,56,236,0.35)] hover:shadow-[0_20px_60px_rgba(131,56,236,0.5)]
Pink
bg-gradient-to-br from-[#ff006e] to-[#fb5607] text-white shadow-[0_16px_50px_rgba(255,0,110,0.35)]
Padding
select · 3 options
Interactive
boolean
Interaction states
{
"hover": [
"hover:-translate-y-1",
"hover:shadow-[0_12px_40px_rgba(131,56,236,0.25)]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe