{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "m-container-scroll-1",
  "description": "Dashboard reveal — an analytics screen tilts flat under a headline",
  "registryDependencies": [
    "@cnippet/container-scroll"
  ],
  "files": [
    {
      "path": "registry/default/motion-variants/m-container-scroll-1.tsx",
      "content": "\"use client\";\n\nimport { useRef } from \"react\";\nimport { ContainerScroll } from \"@/registry/default/motion/container-scroll\";\n\nconst bars = [40, 65, 52, 80, 58, 92, 74];\n\nexport default function ContainerScrollDashboard() {\n  const containerRef = useRef<HTMLDivElement>(null);\n\n  return (\n    <div\n      className=\"relative h-96 w-full overflow-y-auto px-4\"\n      ref={containerRef}\n    >\n      <div className=\"h-48\" />\n      <ContainerScroll\n        containerRef={containerRef}\n        header={\n          <h3 className=\"font-bold text-3xl text-foreground tracking-tight\">\n            Your metrics, at a glance\n          </h3>\n        }\n      >\n        <div className=\"grid gap-3 p-4 sm:grid-cols-3\">\n          {[\"Revenue $48.2k\", \"Users 12,840\", \"Churn 1.8%\"].map((stat) => (\n            <div className=\"rounded-lg border p-3\" key={stat}>\n              <p className=\"text-muted-foreground text-xs\">\n                {stat.split(\" \")[0]}\n              </p>\n              <p className=\"font-semibold text-foreground text-lg\">\n                {stat.split(\" \")[1]}\n              </p>\n            </div>\n          ))}\n          <div className=\"flex h-32 items-end gap-2 rounded-lg border p-3 sm:col-span-3\">\n            {bars.map((h, i) => (\n              <div\n                className=\"flex-1 rounded-t bg-foreground/70\"\n                key={i}\n                style={{ height: `${h}%` }}\n              />\n            ))}\n          </div>\n        </div>\n      </ContainerScroll>\n      <div className=\"h-48\" />\n    </div>\n  );\n}\n",
      "type": "registry:block"
    }
  ],
  "meta": {
    "className": ""
  },
  "categories": [
    "container scroll"
  ],
  "type": "registry:block"
}