{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "kpi-02",
  "registryDependencies": [
    "https://dashboardblocks.com/r/animated-number.json",
    "https://dashboardblocks.com/r/kpi.json",
    "https://dashboardblocks.com/r/trend.json"
  ],
  "files": [
    {
      "path": "registry/components/dashboardblocks/kpi/kpi-02.tsx",
      "content": "'use client'\n\nimport { KPI, KPIContent, KPIValue } from '@/registry/components/dashboardblocks/kpi'\nimport { Trend } from '@/registry/components/dashboardblocks/trend'\n\nimport { CardDescription } from '@/components/ui/card'\n\ninterface KPI2Props {\n  trend: number\n  title: string\n  value: number\n}\n\nconst exampleProps: KPI2Props = {\n  trend: 12.5,\n  title: 'Active Users',\n  value: 2420,\n}\n\nconst KPI2 = (props: KPI2Props) => {\n  const { trend, title, value } = props\n  return (\n    <KPI>\n      <KPIContent className='space-y-2'>\n        <div className='flex items-center justify-between'>\n          <CardDescription>{title}</CardDescription>\n          <Trend trend={trend} variant='badge' />\n        </div>\n        <KPIValue value={value} animated />\n      </KPIContent>\n    </KPI>\n  )\n}\n\nexport { KPI2, exampleProps as kpi2ExampleProps, type KPI2Props }\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:component"
}
