{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "grid-pattern-demo",
  "type": "registry:example",
  "title": "Grid Pattern Demo",
  "description": "Example showing a background grid pattern made with SVGs.",
  "registryDependencies": [
    "@magicui/grid-pattern"
  ],
  "files": [
    {
      "path": "registry/example/grid-pattern-demo.tsx",
      "content": "\"use client\"\n\nimport { cn } from \"@/lib/utils\"\nimport { GridPattern } from \"@/registry/magicui/grid-pattern\"\n\nexport default function GridPatternDemo() {\n  return (\n    <div className=\"bg-background relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border\">\n      <GridPattern\n        squares={[\n          [4, 4],\n          [5, 1],\n          [8, 2],\n          [5, 3],\n          [5, 5],\n          [10, 10],\n          [12, 15],\n          [15, 10],\n          [10, 15],\n          [15, 10],\n          [10, 15],\n          [15, 10],\n        ]}\n        className={cn(\n          \"[mask-image:radial-gradient(400px_circle_at_center,white,transparent)]\",\n          \"inset-x-0 inset-y-[-30%] h-[200%] skew-y-12\"\n        )}\n      />\n    </div>\n  )\n}\n",
      "type": "registry:example"
    }
  ]
}