UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: flickering grid both for light and dark mode
Arghya Das94f7e77da138
diff --git a/registry/components/example/flickering-grid-demo.tsx b/registry/components/example/flickering-grid-demo.tsxindex db7b1c19..064e298a 100644--- a/registry/components/example/flickering-grid-demo.tsx+++ b/registry/components/example/flickering-grid-demo.tsx@@ -3,7 +3,16 @@ import FlickeringGrid from "@/components/magicui/flickering-grid";export default function FlickeringGridDemo() {return (<div className="relative h-[500px] rounded-lg w-full bg-background overflow-hidden border">- <FlickeringGrid height={800} width={800} />+ <FlickeringGrid+ className="z-0 absolute inset-0 size-full"+ squareSize={4}+ gridGap={6}+ color="#6B7280"+ maxOpacity={0.5}+ flickerChance={0.1}+ height={800}+ width={800}+ /></div>);}