{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "chart-estimate-demo",
  "type": "registry:block",
  "description": "Estimate chart with a glass range switch",
  "files": [
    {
      "path": "registry/predict/health/chart-estimate/chart-estimate-demo.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { GlassTabs } from \"@workspace/ui/components/liquid-glass/glass-tabs\"\nimport { ChartEstimate } from \"@workspace/ui/predict/health/chart-estimate\"\n\nexport function ChartEstimateDemo() {\n  const [range, setRange] = React.useState<\"30\" | \"90\">(\"30\")\n  return (\n    <div className=\"flex w-full max-w-[342px] flex-col gap-6\">\n      <GlassTabs\n        aria-label=\"Range\"\n        value={range}\n        onValueChange={setRange}\n        options={[\n          { value: \"30\", label: \"30 days\" },\n          { value: \"90\", label: \"90 days\" },\n        ]}\n      />\n      <ChartEstimate range={range === \"30\" ? 30 : 90} />\n    </div>\n  )\n}\n",
      "type": "registry:block"
    }
  ]
}