Component recipe · Claude Design source
Card for Claude Design
Dark card with thin border and subtle shadow
Component anatomy
Dark card with thin border and subtle shadow
{
"element": "div",
"baseClasses": [
"bg-gray-800",
"rounded-lg",
"border border-gray-700",
"text-gray-100",
"transition-all duration-200"
]
}Variants and parameters
Default
shadow-lg shadow-black/20
Accent
border-blue-500/30 shadow-lg shadow-blue-500/10
Elevated
bg-gray-750 shadow-xl shadow-black/30
Padding
select · 3 options
Interactive
boolean
Interaction states
{
"hover": [
"hover:border-gray-600",
"hover:shadow-xl hover:shadow-black/30"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe