Components
Loading preview...
Here is Grid Background component
npx shadcn@latest add https://21st.dev/r/meghtrix/grid-background// 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 const Component = () => {
const [count, setCount] = useState(0);
return (
<div className="min-h-screen w-full bg-[#0f0f0f] relative text-white">
{/* Diagonal Grid with Red/Blue Glow */}
<div
className="absolute inset-0 z-0 pointer-events-none"
style={{
backgroundImage: `
repeating-linear-gradient(45deg, rgba(255, 140, 0, 0.12) 0, rgba(255, 140, 0, 0.12) 1px, transparent 1px, transparent 22px),
repeating-linear-gradient(-45deg, rgba(255, 69, 0, 0.08) 0, rgba(255, 69, 0, 0.08) 1px, transparent 1px, transparent 22px)
`,
backgroundSize: "44px 44px",
}}
/>Ёъ
{/* Your Content/Components */}.
</div>
);
};
export default Component;