Component recipe · Claude Design source
Card for Claude Design
Container with black border and hard-edge shadow
Component anatomy
Container with black border and hard-edge shadow
{
"element": "div",
"baseClasses": [
"bg-white",
"border-2 md:border-4 border-black",
"rounded-none",
"transition-all duration-300"
]
}Variants and parameters
Default
shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] md:shadow-[8px_8px_0px_0px_rgba(0,0,0,1)]
Accent
shadow-[4px_4px_0px_0px_rgba(255,0,110,1)] md:shadow-[8px_8px_0px_0px_rgba(255,0,110,1)]
Flat
Padding
select · 3 options
Interactive
boolean
Interaction states
{
"hover": [
"hover:shadow-[4px_4px_0px_0px_rgba(255,0,110,1)]",
"md:hover:shadow-[8px_8px_0px_0px_rgba(255,0,110,1)]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe