Components
npx shadcn@latest add https://21st.dev/r/meghtrix/grid-backgroundLoading preview...
// 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-[#0f172a] relative">
{/* Dark Grid with White Dots Background */}
<div
className="absolute inset-0 z-0"
style={{
background: "#0f172a",
backgroundImage: `
linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px),
radial-gradient(circle, rgba(255,255,255,0.6) 1px, transparent 1px)
`,
backgroundSize: "20px 20px, 20px 20px, 20px 20px",
backgroundPosition: "0 0, 0 0, 0 0",
}}
/>
{/* Your Content/Components */}
</div>
);
};
export default Component;Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...
Loading preview...