Component recipe · Claude Design source
KPI Card for Claude Design
Compact KPI metric card with change indicator
Component anatomy
Compact KPI metric card with change indicator
{
"element": "div",
"baseClasses": [
"bg-white",
"rounded",
"border border-[#e2e8f0]",
"transition-colors duration-150"
]
}Variants and parameters
Default
Highlighted
border-[#3b82f6]
Padding
select · 3 options
Interaction states
{
"hover": [
"hover:bg-[#f8fafc]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe