Components
Starting preview...
npx shadcn@latest add https://21st.dev/r/designali-in/grid-patternimport { GridPattern } from "@/components/ui/grid-pattern"
import { cn } from "@/lib/utils";
const Demo = () => {
return (
<div className="relative flex h-[500px] w-full flex-col items-center justify-center overflow-hidden rounded-lg border bg-background md:shadow-xl">
<p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">
Grid Pattern
</p>
<GridPattern
strokeDasharray="2"
width={100}
height={10}
className={cn(
"[mask-image:radial-gradient(500px_circle_at_center,white,transparent)]",
)}
/>
</div>
)
}
export default { Demo }