{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "nights-stacked-demo",
  "type": "registry:block",
  "description": "Nightly spread capsules over your usual band",
  "files": [
    {
      "path": "registry/predict/health/nights-stacked/nights-stacked-demo.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { RangeControl } from \"@workspace/ui/predict/health/range-control\"\nimport { NightsStacked } from \"@workspace/ui/predict/health/nights-stacked\"\n\nexport function NightsStackedDemo() {\n  const [range, setRange] = React.useState<7 | 30 | 90>(7)\n  return (\n    <div className=\"flex w-full max-w-[342px] flex-col gap-6\">\n      <RangeControl\n        selected={range}\n        onSelectedChange={(value) => {\n          if (value !== \"day\") setRange(value)\n        }}\n        aria-label=\"Chart range\"\n      />\n      <NightsStacked range={range} />\n    </div>\n  )\n}\n",
      "type": "registry:block"
    }
  ]
}