{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "chart-card",
  "type": "registry:ui",
  "title": "Chart card",
  "description": "Card wrapper for charts with a title, optional description and a minimum height body. Pairs with the area, bar and donut charts in a React dashboard.",
  "dependencies": [],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/chart-card.tsx",
      "type": "registry:ui",
      "target": "components/ui/chart-card.tsx",
      "content": "\"use client\"\nimport * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\n\nfunction ChartCard({ title, description, children, className }: {\n  title: React.ReactNode\n  description?: React.ReactNode\n  children?: React.ReactNode\n  className?: string\n}) {\n  return (\n    <section data-slot=\"chart-card\" className={cn(\"rounded-xl border border-border bg-surface p-5 shadow-raised\", className)}>\n      <header className=\"mb-4\">\n        <h3 className=\"text-[0.9375rem] font-medium tracking-[-0.01em] text-fg\">{title}</h3>\n        {description ? <p className=\"mt-1 text-xs text-fg-muted\">{description}</p> : null}\n      </header>\n      <div className=\"min-h-40\">{children}</div>\n    </section>\n  )\n}\nexport { ChartCard }\n"
    }
  ]
}
