{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "displacement-image-demo",
  "title": "Displacement Image Demo",
  "description": "A worked example of Displacement Image: Two images crossing by pushing their pixels through the same noise in opposite directions, with the first image also present as ordinary markup for anything that cannot run it.",
  "registryDependencies": [
    "https://ui.tinkererslabs.com/r/displacement-image.json"
  ],
  "files": [
    {
      "path": "components/demos/displacement-image-demo.tsx",
      "content": "\"use client\"\n\nimport { DisplacementImage } from \"@/registry/default/displacement-image/displacement-image\"\n\nexport function DisplacementImageDemo() {\n  return (\n    <div className=\"w-full max-w-md\">\n      <DisplacementImage\n        from=\"/demo/gallery/shift-button.png\"\n        to=\"/demo/gallery/floating-deck.png\"\n        alt=\"Shift Button crossing into Floating Deck\"\n        className=\"aspect-[4/3]\"\n      />\n      <p className=\"text-muted-foreground mt-3 text-xs\">\n        Point at the image, or move focus onto it, to cross to the second one.\n      </p>\n    </div>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}