{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "reveal-demo",
  "title": "Reveal Demo",
  "description": "A worked example of Reveal: Moves its children in when they arrive on screen. It changes how something arrives and never whether it is there.",
  "registryDependencies": [
    "https://ui.tinkererslabs.com/r/reveal.json"
  ],
  "files": [
    {
      "path": "components/demos/reveal-demo.tsx",
      "content": "\"use client\"\n\nimport { Reveal } from \"@/registry/default/reveal/reveal\"\n\nconst rows = [\n  \"It waits until it is on screen\",\n  \"Then it arrives, one after another\",\n  \"And it stays where it landed\",\n]\n\nexport function RevealDemo() {\n  return (\n    <div className=\"border-border h-64 w-full max-w-md overflow-y-auto rounded-[var(--radius)] border p-6\">\n      <div className=\"text-muted-foreground grid h-40 place-items-center text-xs\">\n        Scroll down\n      </div>\n\n      <div className=\"grid gap-3\">\n        {rows.map((row, index) => (\n          <Reveal\n            key={row}\n            delay={index * 90}\n            repeat\n            className=\"border-border bg-card rounded-[var(--radius)] border p-4 text-sm\"\n          >\n            {row}\n          </Reveal>\n        ))}\n      </div>\n\n      <div className=\"h-24\" />\n    </div>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}