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 overflow-hidden">
{/* Grid + Glow on All Sides */}
<div
className="absolute inset-0 z-0 pointer-events-none"
style={{
backgroundImage: `
linear-gradient(to right, #f0f0f0 1px, transparent 1px),
linear-gradient(to bottom, #f0f0f0 1px, transparent 1px),
radial-gradient(circle 600px at 0% 200px, #d5c5ff, transparent), /* Left */
radial-gradient(circle 600px at 100% 200px, #d5c5ff, transparent), /* Right */
radial-gradient(circle 600px at 50% 0px, #d5c5ff, transparent), /* Top */
radial-gradient(circle 600px at 50% 100%, #d5c5ff, transparent) /* Bottom */
`,
backgroundSize: `
96px 64px,
96px 64px,
100% 100%,
100% 100%,
100% 100%,
100% 100%
`,
}}
/>
{/* Your Content Here */}
</div>
);
};