Components
Loading preview...
Here is Gradient Blur Bg component
npx shadcn@latest add https://21st.dev/r/meghtrix/gradient-blur-bg// This is file of your component
// You can use any dependencies from npm; we import them automatically in package.json
import { cn } from "@/lib/utils";
import { useState } from "react";
export default function Component() {
const [count, setCount] = useState(0);
return (
<div className="min-h-screen w-full bg-white relative">
{/* Dual Gradient Overlay Swapped Background */}
<div
className="absolute inset-0 z-0"
style={{
backgroundImage: `
linear-gradient(to right, rgba(229,231,235,0.8) 1px, transparent 1px),
linear-gradient(to bottom, rgba(229,231,235,0.8) 1px, transparent 1px),
radial-gradient(circle 500px at 20% 20%, rgba(139,92,246,0.3), transparent),
radial-gradient(circle 500px at 80% 80%, rgba(59,130,246,0.3), transparent)
`,
backgroundSize: "48px 48px, 48px 48px, 100% 100%, 100% 100%",
}}
/>
{/* Your Content/Components */}
</div>
);
};