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": "flickering-grid-rounded-demo",
"type": "registry:example",
"title": "Flickering Grid Rounded Demo",
"description": "Example showing a flickering grid background with rounded corners.",
"registryDependencies": [
"@magicui/flickering-grid"
],
"files": [
{
"path": "registry/example/flickering-grid-rounded-demo.tsx",
"content": "import { FlickeringGrid } from \"@/registry/magicui/flickering-grid\"\n\nexport default function FlickeringGridRoundedDemo() {\n return (\n <div className=\"bg-background relative size-[600px] w-full overflow-hidden rounded-lg border\">\n <FlickeringGrid\n className=\"relative inset-0 z-0 [mask-image:radial-gradient(450px_circle_at_center,white,transparent)]\"\n squareSize={4}\n gridGap={6}\n color=\"#60A5FA\"\n maxOpacity={0.5}\n flickerChance={0.1}\n height={800}\n width={800}\n />\n </div>\n )\n}\n",
"type": "registry:example"
}
]
}