Background Pattern 1 - Square grid
Centered hero over a hairline square grid that fades out toward the bottom edge.
About Background Pattern 1
Centered hero over a hairline square grid that fades out toward the bottom edge.
Background Pattern 1 is a free background pattern block for React, built on shadcn/ui and Tailwind CSS. It ships as 71 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- grid
- squares
- centered
- hero
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/background-pattern-01Dependencies installed automatically: lucide-react.
Uses: button, reveal, utils.
Usage
import BackgroundPattern01 from "@/components/blocks/background-pattern-01"
export default function Page() {
return <BackgroundPattern01 />
}