{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "image-grid-demo",
  "title": "Image Grid Demo",
  "description": "A worked example of Image Grid: Thumbnails in even cells or masonry columns, with nothing but React behind them.",
  "registryDependencies": [
    "https://ui.tinkererslabs.com/r/image-grid.json"
  ],
  "files": [
    {
      "path": "components/demos/image-grid-demo.tsx",
      "content": "\"use client\"\n\nimport { galleryImages } from \"@/components/demos/image-gallery-demo\"\nimport { ImageGrid } from \"@/registry/default/image-grid/image-grid\"\n\nexport function ImageGridDemo() {\n  return (\n    <div className=\"w-full max-w-2xl\">\n      <ImageGrid images={galleryImages.slice(0, 6)} layout=\"masonry\" />\n    </div>\n  )\n}\n",
      "type": "registry:example"
    },
    {
      "path": "components/demos/image-gallery-demo.tsx",
      "content": "\"use client\"\n\nimport { ImageGallery } from \"@/registry/default/image-gallery/image-gallery\"\n\nexport const galleryImages = [\n  {\n    id: \"shift-button\",\n    src: \"/demo/gallery/shift-button.png\",\n    alt: \"Shift Button experiment\",\n    width: 423,\n    height: 345,\n    caption: \"Shift Button\",\n    description: \"A call to action that makes room for what comes next.\",\n  },\n  {\n    id: \"floating-deck\",\n    src: \"/demo/gallery/floating-deck.png\",\n    alt: \"Floating Deck experiment\",\n    width: 658,\n    height: 439,\n    caption: \"Floating Deck\",\n    description: \"A compact home for apps, components, and notes.\",\n  },\n  {\n    id: \"impossible-checkbox\",\n    src: \"/demo/gallery/impossible-checkbox.png\",\n    alt: \"Impossible Checkbox experiment\",\n    width: 390,\n    height: 417,\n    caption: \"Impossible Checkbox\",\n    description: \"The bear still refuses to cooperate.\",\n  },\n  {\n    id: \"floating-index\",\n    src: \"/demo/gallery/floating-index.png\",\n    alt: \"Floating Index experiment\",\n    width: 487,\n    height: 342,\n    caption: \"Floating Index\",\n    description: \"A small outline that keeps your place.\",\n  },\n  {\n    id: \"appearance-control\",\n    src: \"/demo/gallery/appearance-control.png\",\n    alt: \"Appearance Control experiment\",\n    width: 581,\n    height: 459,\n    caption: \"Appearance Control\",\n    description: \"Theme choices gathered into one useful card.\",\n  },\n  {\n    id: \"focus-text\",\n    src: \"/demo/gallery/focus-text.png\",\n    alt: \"Focus Text experiment\",\n    width: 900,\n    height: 571,\n    caption: \"Focus Text\",\n    description: \"A sentence that sharpens as you reach it.\",\n  },\n]\n\nexport function ImageGalleryDemo() {\n  return <ImageGallery images={galleryImages} title=\"From the archive\" />\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}