Component recipe · Claude Design source
Card for Claude Design
Grid-aligned card with bold borders, no shadows, and color block hover states
Component anatomy
Grid-aligned card with bold borders, no shadows, and color block hover states
{
"element": "div",
"baseClasses": [
"bg-[#ffffff]",
"rounded-none",
"border-2 border-[#000000]",
"transition-all duration-100 ease-out"
]
}Variants and parameters
Default
Black Block
bg-[#000000] text-[#ffffff] border-[#000000]
Red Block
bg-[#ff0000] text-[#ffffff] border-[#ff0000]
Blue Block
bg-[#0057b8] text-[#ffffff] border-[#0057b8]
Padding
select · 3 options
Interactive
boolean
Interaction states
{
"hover": [
"hover:bg-[#ff0000] hover:text-[#ffffff]",
"hover:border-[#ff0000]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe