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 relative">
{/* Dark Dot Matrix */}
<div
className="absolute inset-0 z-0"
style={{
backgroundColor: '#0a0a0a',
backgroundImage: `
radial-gradient(circle at 25% 25%, #222222 0.5px, transparent 1px),
radial-gradient(circle at 75% 75%, #111111 0.5px, transparent 1px)
`,
backgroundSize: '10px 10px',
imageRendering: 'pixelated',
}}
/>
{/* Your Content Here */}
</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...