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": "dot-pattern-with-glow-effect",
"type": "registry:example",
"title": "Dot Pattern with glow effect",
"description": "Example showing a dot pattern with glow effect",
"registryDependencies": [
"@magicui/dot-pattern"
],
"files": [
{
"path": "registry/example/dot-pattern-with-glow-effect.tsx",
"content": "\"use client\"\n\nimport { cn } from \"@/lib/utils\"\nimport { DotPattern } from \"@/registry/magicui/dot-pattern\"\n\nexport default function DotPatternWithGlowEffectDemo() {\n return (\n <div className=\"relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden\">\n <DotPattern\n glow={true}\n className={cn(\n \"[mask-image:radial-gradient(300px_circle_at_center,white,transparent)]\"\n )}\n />\n </div>\n )\n}\n",
"type": "registry:example"
}
]
}