Component recipes

Component recipe · Claude Design source

Stat Card for Claude Design

Dashboard statistic card with label, value and trend

Component anatomy

Dashboard statistic card with label, value and trend

{
  "element": "div",
  "baseClasses": [
    "bg-[#faf8f5]",
    "rounded-2xl",
    "p-6",
    "shadow-xl shadow-black/8"
  ]
}

Variants and parameters

Default

With Indicator

Size

select · 3 options

Interaction states

{}

Related base style

Fixed-version source · reviewed before publishingNext component recipe