{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "dither-image-demo",
  "title": "Dither Image Demo",
  "description": "A worked example of Dither Image: A photograph reduced to two theme colours through an ordered dither, the way a newspaper reduced one to ink and paper.",
  "registryDependencies": [
    "https://ui.tinkererslabs.com/r/dither-image.json"
  ],
  "files": [
    {
      "path": "components/demos/dither-image-demo.tsx",
      "content": "\"use client\"\n\nimport { DitherImage } from \"@/registry/default/dither-image/dither-image\"\n\nexport function DitherImageDemo() {\n  return (\n    <div className=\"w-full max-w-md\">\n      <DitherImage\n        src=\"/brand/mischief-social-preview.png\"\n        alt=\"The Mischief mark and wordmark, reduced to two tones\"\n        className=\"aspect-[2/1]\"\n        cell={3}\n      />\n      <p className=\"text-muted-foreground mt-3 text-xs\">\n        Two theme colours and an ordered dither, the way a newspaper did it.\n      </p>\n    </div>\n  )\n}\n",
      "type": "registry:example"
    }
  ],
  "type": "registry:example"
}