Component recipe · Claude Design source
Card for Claude Design
Grid-aligned card with minimal black border and clean spacing
Component anatomy
Grid-aligned card with minimal black border and clean spacing
{
"element": "div",
"baseClasses": [
"bg-white",
"border border-black",
"font-sans",
"transition-all duration-200"
]
}Variants and parameters
Default
Accent
border-l-4 border-l-[#e30613]
Inverted
bg-black text-white border-black
Padding
select · 3 options
Interactive
boolean
Interaction states
{
"hover": [
"hover:border-[#e30613]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe