UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "interactive-grid-pattern-demo",
"type": "registry:example",
"title": "Interactive Grid Pattern Demo",
"description": "Example showing an interactive grid pattern background.",
"registryDependencies": [
"@magicui/interactive-grid-pattern"
],
"files": [
{
"path": "registry/example/interactive-grid-pattern-demo.tsx",
"content": "\"use client\"\n\nimport { cn } from \"@/lib/utils\"\nimport { InteractiveGridPattern } from \"@/registry/magicui/interactive-grid-pattern\"\n\nexport default function InteractiveGridPatternDemo() {\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 <InteractiveGridPattern\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"
}
]
}