{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "reveal-demo",
  "title": "Reveal: Four effects in a scroll panel",
  "description": "Scroll the panel: rise, wipe, blur and scale, each staggered.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "https://ui.cuelark.com/r/reveal.json"
  ],
  "files": [
    {
      "path": "src/registry/cuelark/examples/reveal-demo.tsx",
      "content": "import * as React from \"react\";\nimport { ArrowDownIcon } from \"lucide-react\";\n\nimport { Reveal } from \"@/registry/cuelark/ui/reveal\";\n\nconst effects = [\"rise\", \"wipe\", \"blur\", \"scale\"] as const;\n\nexport default function RevealDemo() {\n  const [panel, setPanel] = React.useState<HTMLDivElement | null>(null);\n  return (\n    <div ref={setPanel} className=\"relative h-96 w-full max-w-lg overflow-y-auto rounded-2xl border border-border bg-background\">\n      <div className=\"sticky top-0 z-10 flex items-center justify-between border-b border-border bg-background/90 px-5 py-3 backdrop-blur\">\n        <span className=\"cue-label\">Scroll this panel</span>\n        <ArrowDownIcon className=\"size-4 animate-bounce text-muted-foreground\" />\n      </div>\n      <div className=\"grid gap-12 px-5 pt-[22rem] pb-16\">\n        {panel &&\n          effects.map((effect) => (\n            <section key={effect} className=\"grid gap-3\">\n              <span className=\"font-mono text-xs text-muted-foreground\">effect=&quot;{effect}&quot;</span>\n              <Reveal effect={effect} stagger scroller={panel} className=\"grid grid-cols-3 gap-3\">\n                {[0, 1, 2].map((i) => (\n                  <div key={i} className=\"grid aspect-square place-items-center rounded-xl border border-border bg-card text-sm font-medium shadow-control\">\n                    {String(i + 1).padStart(2, \"0\")}\n                  </div>\n                ))}\n              </Reveal>\n            </section>\n          ))}\n      </div>\n    </div>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "categories": [
    "reveal",
    "example"
  ],
  "type": "registry:component"
}